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.00109/0.00109, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.002207, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007244/0.0007244, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000985/0.001709, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9961/0.9961, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08138/1.077, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.05849/0.05849, allocations: 12.75 MB / 256.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008472/0.06696, allocations: 4.814 MB / 261.5 MB, free: 13.26 MB / 266.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.393e-06/1.393e-06, allocations: 0 / 262.8 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.644e-05, allocations: 6.312 kB / 262.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Testers.TestSignalsZOH): time 0.002802/0.002819, allocations: 1.866 MB / 264.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.004076, allocations: 0.6231 MB / 265.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.00417, allocations: 7.938 kB / 265.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.004208, allocations: 19.8 kB / 265.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.743e-05/0.004306, allocations: 31.67 kB / 265.3 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.004548, allocations: 83.75 kB / 265.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.004753, allocations: 167.5 kB / 265.6 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.004874, allocations: 42.36 kB / 265.6 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.005097, allocations: 123.6 kB / 265.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.005205, allocations: 59.78 kB / 265.8 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.00524, allocations: 16 kB / 265.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.1e-05/0.005311, allocations: 20 kB / 265.8 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.005349, allocations: 31.92 kB / 265.9 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.005407, allocations: 35.88 kB / 265.9 MB, free: 8.855 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.005602, allocations: 119.5 kB / 266 MB, free: 8.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.005618, allocations: 0 / 266 MB, free: 8.738 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005619, allocations: 0 / 266 MB, free: 8.738 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.005634, allocations: 0 / 266 MB, free: 8.738 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.0006577/0.006292, allocations: 428.8 kB / 266.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.006327, allocations: 16.03 kB / 266.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.006556, allocations: 122 kB / 266.6 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.006754, allocations: 158.1 kB / 266.7 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.006855, allocations: 123.2 kB / 266.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.006891, allocations: 28.3 kB / 266.9 MB, free: 7.785 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.007114, allocations: 140.3 kB / 267 MB, free: 7.641 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.007125, allocations: 192 / 267 MB, free: 7.641 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.007141, allocations: 12.12 kB / 267 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.007149, allocations: 7.938 kB / 267 MB, free: 7.621 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.00725, allocations: 47.83 kB / 267.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.007856, allocations: 311.7 kB / 267.4 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.00801, allocations: 90.48 kB / 267.5 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.008066, allocations: 32.84 kB / 267.5 MB, free: 7.121 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.008091, allocations: 8 kB / 267.5 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.00827, allocations: 123.2 kB / 267.6 MB, free: 6.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.008272, allocations: 0 / 267.6 MB, free: 6.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008123/0.009084, allocations: 318.9 kB / 268 MB, free: 6.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.009123, allocations: 63.34 kB / 268 MB, free: 6.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.009228, allocations: 156.1 kB / 268.2 MB, free: 6.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.009249, allocations: 29.7 kB / 268.2 MB, free: 6.391 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.009303, allocations: 120.6 kB / 268.3 MB, free: 6.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.009375, allocations: 79.41 kB / 268.4 MB, free: 6.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.009447, allocations: 45.67 kB / 268.4 MB, free: 6.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.009549, allocations: 330.8 kB / 268.8 MB, free: 5.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.203e-05/0.009601, allocations: 20.28 kB / 268.8 MB, free: 5.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.132e-05/0.009682, allocations: 69.98 kB / 268.8 MB, free: 5.703 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.009914, allocations: 168.1 kB / 269 MB, free: 5.523 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.009918, allocations: 7.938 kB / 269 MB, free: 5.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002745/0.01019, allocations: 154.4 kB / 269.2 MB, free: 5.355 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01021, allocations: 8 kB / 269.2 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.01021, allocations: 4 kB / 269.2 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001155/0.01033, allocations: 20.84 kB / 269.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.0106, allocations: 74.7 kB / 269.3 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008801/0.01148, allocations: 1.3 MB / 270.6 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.01159, allocations: 15.98 kB / 270.6 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.01161, allocations: 12 kB / 270.6 MB, free: 3.832 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.0001717/0.01178, allocations: 143 kB / 270.7 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.01181, allocations: 23.98 kB / 270.8 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.01212, allocations: 170.6 kB / 270.9 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.01212, allocations: 4 kB / 270.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01213, allocations: 0 / 270.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.01213, allocations: 4 kB / 270.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.01267, allocations: 377 kB / 271.3 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01268, allocations: 0 / 271.3 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.0129, allocations: 59.16 kB / 271.4 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.01292, allocations: 19.83 kB / 271.4 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.246e-05/0.01299, allocations: 16.86 kB / 271.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.01301, allocations: 11.98 kB / 271.4 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007681/0.01378, allocations: 1.289 MB / 272.7 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01378, allocations: 0 / 272.7 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.01417, allocations: 309.3 kB / 273 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.01419, allocations: 11.94 kB / 273 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.01432, allocations: 15.98 kB / 273 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.0144, allocations: 31.94 kB / 273.1 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.01442, allocations: 11.98 kB / 273.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.003e-05/0.01446, allocations: 33.2 kB / 273.1 MB, free: 1.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01446, allocations: 0 / 273.1 MB, free: 1.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.01484, allocations: 47.98 kB / 273.2 MB, free: 1.133 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 0.0001198/0.01496, allocations: 84.42 kB / 273.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.01534, allocations: 245.8 kB / 273.5 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.01535, allocations: 0 / 273.5 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.01557, allocations: 199.8 kB / 273.7 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.0158, allocations: 38.88 kB / 273.7 MB, free: 0.543 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.01718, allocations: 377.8 kB / 274.1 MB, free: 152 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.057e-05/0.01724, allocations: 80 kB / 274.2 MB, free: 52 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.527e-05/0.01734, allocations: 29.66 kB / 274.2 MB, free: 24 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1034/0.1208, allocations: 74.06 kB / 274.3 MB, free: 8.23 MB / 266.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1208, allocations: 0 / 274.3 MB, free: 8.23 MB / 266.7 MB Notification: Performance of Templates: time 0.005241/0.126, allocations: 2.513 MB / 276.8 MB, free: 8.176 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.618451206944883]