Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Blocks.Signals.Testers.TestSignalsZOH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009382/0.0009382, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.0647/0.0647, allocations: 12.76 MB / 273 MB, free: 152 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Bodylight.Blocks.Signals.Testers.TestSignalsZOH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Testers.TestSignalsZOH") translateModel(Bodylight.Blocks.Signals.Testers.TestSignalsZOH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Testers.TestSignalsZOH") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 293.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.372e-05, allocations: 2.312 kB / 293.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Testers.TestSignalsZOH): time 0.005905/0.005929, allocations: 1.814 MB / 295.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.007144, allocations: 0.6307 MB / 296.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.692e-05/0.007241, allocations: 5.125 kB / 296.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.007281, allocations: 15.89 kB / 296.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.007456, allocations: 27.84 kB / 296.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.007803, allocations: 88.88 kB / 296.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.008046, allocations: 174.8 kB / 296.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.008175, allocations: 31.91 kB / 296.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.008431, allocations: 109.8 kB / 296.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.008544, allocations: 59.73 kB / 296.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.008577, allocations: 14.72 kB / 296.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.573e-05/0.008633, allocations: 22.88 kB / 296.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.008673, allocations: 43.25 kB / 296.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.008732, allocations: 52.03 kB / 297 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.008941, allocations: 126.9 kB / 297.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.008945, allocations: 0 / 297.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.008946, allocations: 4 kB / 297.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.008951, allocations: 0.6094 kB / 297.1 MB, free: 10.02 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005674/0.009518, allocations: 391.7 kB / 297.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.009555, allocations: 12.86 kB / 297.5 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.009745, allocations: 50.42 kB / 297.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.009926, allocations: 157.5 kB / 297.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.01, allocations: 123.5 kB / 297.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.01004, allocations: 26.25 kB / 297.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.01026, allocations: 142.4 kB / 298 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.01028, allocations: 0.9844 kB / 298 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.01029, allocations: 11.45 kB / 298 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.0103, allocations: 3.219 kB / 298 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003117/0.01342, allocations: 48.06 kB / 298 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.01397, allocations: 327.7 kB / 298.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.01411, allocations: 84.23 kB / 298.4 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.01416, allocations: 34.25 kB / 298.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.01419, allocations: 7.859 kB / 298.5 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.01435, allocations: 121.2 kB / 298.6 MB, free: 9.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.01436, allocations: 4 kB / 298.6 MB, free: 9 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007545/0.01511, allocations: 302.6 kB / 298.9 MB, free: 8.922 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.01514, allocations: 57.02 kB / 298.9 MB, free: 8.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.01523, allocations: 163.9 kB / 299.1 MB, free: 8.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.01525, allocations: 32.48 kB / 299.1 MB, free: 8.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.01529, allocations: 118.3 kB / 299.3 MB, free: 8.586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.01534, allocations: 74.02 kB / 299.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.01541, allocations: 57.59 kB / 299.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.01546, allocations: 333.2 kB / 299.7 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.882e-05/0.0155, allocations: 21.69 kB / 299.7 MB, free: 8.164 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/0.01557, allocations: 64.84 kB / 299.8 MB, free: 8.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.01579, allocations: 158.1 kB / 299.9 MB, free: 8.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.0158, allocations: 7.938 kB / 300 MB, free: 8.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002707/0.01607, allocations: 162.7 kB / 300.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.01608, allocations: 8.312 kB / 300.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01609, allocations: 1.094 kB / 300.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.01621, allocations: 21.48 kB / 300.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003235/0.01944, allocations: 57.53 kB / 300.2 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006265/0.02007, allocations: 1.296 MB / 301.5 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.02018, allocations: 14.84 kB / 301.5 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.02019, allocations: 10.62 kB / 301.5 MB, free: 6.645 MB / 266.7 MB Warning: Assuming fixed start value for the following 8 variables: zOH.y:DISCRETE(flow=false fixed = true ) \"Connector of Real output signal\" type: Real minZOH.y:DISCRETE(flow=false fixed = true ) \"Connector of Real output signal\" type: Real maxZOH.y:DISCRETE(flow=false fixed = true ) \"Connector of Real output signal\" type: Real continuousMeanValue.y:VARIABLE(flow=false fixed = true stateSelect=StateSelect.always ) \"Connector of Real output signal\" type: Real min1.yMinCriticalPoints:DISCRETE(fixed = true protected = true ) type: Real max1.yhold:DISCRETE(fixed = true protected = true ) \"holding the extreme value\" type: Real minZOH.yt:VARIABLE(fixed = true stateSelect=StateSelect.always protected = true ) \"temporary y\" type: Real maxZOH.yt:VARIABLE(fixed = true stateSelect=StateSelect.always protected = true ) \"temporary y\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.zOH.y,zOH.y,$whenCondition4,$whenCondition2,reset,$whenCondition1,$PRE.minZOH.y,$PRE.maxZOH.y,minZOH.y,maxZOH.y,$PRE.min1.yMinCriticalPoints,$PRE.max1.yhold,min1.yMinCriticalPoints,max1.yhold,$whenCondition3,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.02036, allocations: 154.8 kB / 301.7 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.0204, allocations: 18.16 kB / 301.7 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.02066, allocations: 176.6 kB / 301.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.02066, allocations: 3.625 kB / 301.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.02067, allocations: 0.9375 kB / 301.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.02067, allocations: 1.031 kB / 301.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.0211, allocations: 370.2 kB / 302.2 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.0211, allocations: 8.609 kB / 302.2 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.02126, allocations: 41.8 kB / 302.3 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.114e-05/0.02132, allocations: 23.16 kB / 302.3 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.02134, allocations: 7.391 kB / 302.3 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000443/0.02178, allocations: 1.3 MB / 303.6 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02178, allocations: 0.5469 kB / 303.6 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.0221, allocations: 311.1 kB / 303.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.02211, allocations: 17.64 kB / 303.9 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.02214, allocations: 7.375 kB / 303.9 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003113/0.02525, allocations: 11.36 kB / 303.9 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.02533, allocations: 41.11 kB / 304 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.02535, allocations: 11.47 kB / 304 MB, free: 4.641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.871e-05/0.02539, allocations: 36.73 kB / 304 MB, free: 4.625 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02539, allocations: 0 / 304 MB, free: 4.625 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000343/0.02573, allocations: 39.2 kB / 304.1 MB, free: 4.621 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (maxZOH.yt,minZOH.yt,continuousMeanValue.y) * Number of discrete variables: 11 (reset,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,maxZOH.y,minZOH.y,max1.yhold,min1.yMinCriticalPoints,zOH.y) * Number of discrete states: 2 (min1.yMinCriticalPoints,max1.yhold) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 9.89e-05/0.02583, allocations: 85.91 kB / 304.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.02614, allocations: 240.7 kB / 304.4 MB, free: 4.406 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.02615, allocations: 6.656 kB / 304.4 MB, free: 4.402 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.02631, allocations: 188 kB / 304.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.02649, allocations: 28.73 kB / 304.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006686/0.02715, allocations: 375.1 kB / 305 MB, free: 4.012 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.179e-05/0.02721, allocations: 87.14 kB / 305.1 MB, free: 3.934 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.516e-05/0.02728, allocations: 25.66 kB / 305.1 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.161e-05/0.02736, allocations: 76.38 kB / 305.2 MB, free: 3.875 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02736, allocations: 0 / 305.2 MB, free: 3.875 MB / 266.7 MB Notification: Performance of Templates: time 0.005522/0.03289, allocations: 2.499 MB / 307.7 MB, free: 2.883 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Blocks.Signals.Testers.TestSignalsZOH.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Blocks.Signals.Testers.TestSignalsZOH.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Testers.TestSignalsZOH.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Testers.TestSignalsZOH.pipe >> ../files/Bodylight_Bodylight.Blocks.Signals.Testers.TestSignalsZOH.sim & ./Bodylight_Bodylight.Blocks.Signals.Testers.TestSignalsZOH -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Blocks.Signals.Testers.TestSignalsZOH.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.90805442025885]