Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 105.4 kB / 19.74 MB, free: 2 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 190.9 kB / 23.03 MB, free: 5 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 225.6 MB / 251.8 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0592/0.0592, allocations: 12.18 MB / 319.2 MB, free: 12.92 MB / 254.1 MB
"
[Timeout remaining time 180]
Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource")
translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.89 kB / 445.3 MB, free: 4.168 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09799, allocations: 55.2 MB / 0.4887 GB, free: 12.87 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003993/0.102, allocations: 2.35 MB / 0.491 GB, free: 10.51 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0003368/0.1023, allocations: 151.5 kB / 0.4912 GB, free: 10.36 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.1024, allocations: 0 / 0.4912 GB, free: 10.36 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.1025, allocations: 27.78 kB / 0.4912 GB, free: 10.34 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.286e-05/0.1026, allocations: 11.94 kB / 0.4912 GB, free: 10.32 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1029, allocations: 51.81 kB / 0.4913 GB, free: 10.27 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000166/0.103, allocations: 71.77 kB / 0.4913 GB, free: 10.2 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.1031, allocations: 15.98 kB / 0.4914 GB, free: 10.19 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.1032, allocations: 31.88 kB / 0.4914 GB, free: 10.16 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.1032, allocations: 35.78 kB / 0.4914 GB, free: 10.12 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1033, allocations: 4 kB / 0.4914 GB, free: 10.12 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.491e-05/0.1033, allocations: 27.98 kB / 0.4915 GB, free: 10.09 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.1034, allocations: 11.98 kB / 0.4915 GB, free: 10.08 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.1034, allocations: 27.81 kB / 0.4915 GB, free: 10.05 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.1036, allocations: 99.56 kB / 0.4916 GB, free: 9.953 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1036, allocations: 0 / 0.4916 GB, free: 9.953 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.052e-06/0.1036, allocations: 0 / 0.4916 GB, free: 9.953 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 4.408e-06/0.1036, allocations: 4 kB / 0.4916 GB, free: 9.949 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 15
 * Number of variables: 15
Notification: Performance of Generate backend data structure: time 0.000456/0.1041, allocations: 349.5 kB / 0.4919 GB, free: 9.562 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1041, allocations: 12.03 kB / 0.4919 GB, free: 9.551 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.1042, allocations: 12.84 kB / 0.4919 GB, free: 9.539 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.1044, allocations: 142.3 kB / 0.4921 GB, free: 9.375 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1044, allocations: 384 / 0.4921 GB, free: 9.375 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1045, allocations: 12.36 kB / 0.4921 GB, free: 9.363 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.1048, allocations: 157.6 kB / 0.4922 GB, free: 9.191 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1048, allocations: 8.062 kB / 0.4923 GB, free: 9.184 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1048, allocations: 3.938 kB / 0.4923 GB, free: 9.18 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.1048, allocations: 4 kB / 0.4923 GB, free: 9.176 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.439e-05/0.1049, allocations: 27.98 kB / 0.4923 GB, free: 9.148 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.1053, allocations: 264.8 kB / 0.4925 GB, free: 8.844 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.1055, allocations: 85.12 kB / 0.4926 GB, free: 8.742 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.1056, allocations: 37.78 kB / 0.4927 GB, free: 8.699 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.348e-05/0.1056, allocations: 7.984 kB / 0.4927 GB, free: 8.691 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.1057, allocations: 38.44 kB / 0.4927 GB, free: 8.645 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1057, allocations: 4 kB / 0.4927 GB, free: 8.641 MB / 366.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0003394/0.106, allocations: 173 kB / 0.4929 GB, free: 8.453 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/0.1061, allocations: 136.5 kB / 0.493 GB, free: 8.289 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1062, allocations: 125.7 kB / 0.4931 GB, free: 8.156 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1062, allocations: 25.7 kB / 0.4931 GB, free: 8.125 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.1063, allocations: 96.12 kB / 0.4932 GB, free: 8.027 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.1063, allocations: 7.906 kB / 0.4932 GB, free: 8.02 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.1064, allocations: 25.7 kB / 0.4933 GB, free: 7.988 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001481/0.1065, allocations: 322.9 kB / 0.4936 GB, free: 7.664 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.555e-05/0.1066, allocations: 15.98 kB / 0.4936 GB, free: 7.648 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.1066, allocations: 61.98 kB / 0.4936 GB, free: 7.566 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.1068, allocations: 184.6 kB / 0.4938 GB, free: 7.34 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1068, allocations: 0 / 0.4938 GB, free: 7.34 MB / 366.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002275/0.107, allocations: 157.2 kB / 0.494 GB, free: 7.168 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.1071, allocations: 63.41 kB / 0.494 GB, free: 7.094 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1071, allocations: 4 kB / 0.494 GB, free: 7.09 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1071, allocations: 0 / 0.494 GB, free: 7.09 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.72e-05/0.1071, allocations: 11.94 kB / 0.4941 GB, free: 7.078 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1071, allocations: 7.984 kB / 0.4941 GB, free: 7.07 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.1072, allocations: 15.89 kB / 0.4941 GB, free: 7.055 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1072, allocations: 4 kB / 0.4941 GB, free: 7.051 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 1 (synchronizeRealtime.initialized)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (8):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.1073, allocations: 177.1 kB / 0.4942 GB, free: 6.855 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1075, allocations: 69.64 kB / 0.4943 GB, free: 6.781 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.1075, allocations: 19.98 kB / 0.4943 GB, free: 6.754 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1075, allocations: 3.938 kB / 0.4943 GB, free: 6.75 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1075, allocations: 4 kB / 0.4943 GB, free: 6.746 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1075, allocations: 0 / 0.4943 GB, free: 6.746 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1077, allocations: 148.7 kB / 0.4945 GB, free: 6.559 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1077, allocations: 320 / 0.4945 GB, free: 6.559 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.1077, allocations: 8 kB / 0.4945 GB, free: 6.551 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1077, allocations: 3.984 kB / 0.4945 GB, free: 6.547 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.1077, allocations: 8 kB / 0.4945 GB, free: 6.539 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1077, allocations: 0 / 0.4945 GB, free: 6.539 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1077, allocations: 4 kB / 0.4945 GB, free: 6.535 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.108, allocations: 259.7 kB / 0.4948 GB, free: 6.25 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.108, allocations: 19.83 kB / 0.4948 GB, free: 6.23 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1081, allocations: 0 / 0.4948 GB, free: 6.23 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.1081, allocations: 4.094 kB / 0.4948 GB, free: 6.227 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.1081, allocations: 11.92 kB / 0.4948 GB, free: 6.215 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.1081, allocations: 4 kB / 0.4948 GB, free: 6.211 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 6.046e-05/0.1082, allocations: 99.27 kB / 0.4949 GB, free: 6.113 MB / 366.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1082, allocations: 0 / 0.4949 GB, free: 6.113 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0002573/0.1085, allocations: 20 kB / 0.4949 GB, free: 6.094 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 1 (synchronizeRealtime.initialized)
 * Number of discrete states: 1 (synchronizeRealtime.initialized)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 5
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0006026/0.1091, allocations: 244.2 kB / 0.4951 GB, free: 5.914 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.000248/0.1093, allocations: 166.7 kB / 0.4953 GB, free: 5.727 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1093, allocations: 0 / 0.4953 GB, free: 5.727 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.772e-05/0.1094, allocations: 119.2 kB / 0.4954 GB, free: 5.586 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.1097, allocations: 47.19 kB / 0.4955 GB, free: 5.543 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.1101, allocations: 175.1 kB / 0.4956 GB, free: 5.34 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1104, allocations: 0.7001 MB / 0.4963 GB, free: 4.613 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 4.066e-05/0.1104, allocations: 7.984 kB / 0.4963 GB, free: 4.605 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.1104, allocations: 11.44 kB / 0.4963 GB, free: 4.594 MB / 366.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.1104, allocations: 4 kB / 0.4963 GB, free: 4.59 MB / 366.1 MB
Notification: Performance of Templates: time 0.0041/0.1145, allocations: 1.322 MB / 0.4976 GB, free: 3.277 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.makefile [Timeout 660]
(rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource  -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.259139851666987]
Failed to read output from testmodel.py, exit status != 0:
0.12123946938663721 0.13644726100000001 0.029859072
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fcffc7457b0>