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.001042/0.001042, allocations: 80.88 kB / 20.8 MB, free: 3.656 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.001093/0.001093, allocations: 169.4 kB / 24.22 MB, free: 244 kB / 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.056/1.056, allocations: 177.1 MB / 204.7 MB, free: 5.453 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.05584/0.05584, allocations: 12.76 MB / 273.9 MB, free: 128 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.232e-06/1.232e-06, allocations: 0 / 294.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.304e-05, allocations: 2.312 kB / 294.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Testers.TestSignalsZOH): time 0.002971/0.002984, allocations: 1.849 MB / 296.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.00401, allocations: 0.6352 MB / 297.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.004089, allocations: 5.906 kB / 297.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.094e-05/0.00414, allocations: 13.97 kB / 297.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.00429, allocations: 33.48 kB / 297.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.004526, allocations: 84.61 kB / 297.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.004737, allocations: 170.5 kB / 297.7 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.004851, allocations: 36.14 kB / 297.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.005065, allocations: 109.2 kB / 297.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.00517, allocations: 55.75 kB / 297.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.005203, allocations: 16.12 kB / 297.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.307e-05/0.005266, allocations: 21.67 kB / 297.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.79e-05/0.005304, allocations: 47.34 kB / 297.9 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.005361, allocations: 47.64 kB / 298 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.005537, allocations: 135.1 kB / 298.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005539, allocations: 0.7031 kB / 298.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.00554, allocations: 1.281 kB / 298.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.005544, allocations: 0 / 298.1 MB, free: 9.887 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.0005181/0.006062, allocations: 390.3 kB / 298.5 MB, free: 9.574 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.006092, allocations: 13.58 kB / 298.5 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.006274, allocations: 53.03 kB / 298.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.006445, allocations: 157.8 kB / 298.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/0.006514, allocations: 120.7 kB / 298.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.006546, allocations: 26.3 kB / 298.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.006762, allocations: 144 kB / 299 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006773, allocations: 192 / 299 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.006789, allocations: 11.7 kB / 299 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.006796, allocations: 7.656 kB / 299 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.0069, allocations: 47.89 kB / 299.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.007424, allocations: 317 kB / 299.4 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.007562, allocations: 82.48 kB / 299.5 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.007617, allocations: 33.11 kB / 299.5 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.007636, allocations: 8.922 kB / 299.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.007795, allocations: 124.9 kB / 299.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.816e-06/0.007798, allocations: 0 / 299.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008172/0.008615, allocations: 306.7 kB / 299.9 MB, free: 8.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.008639, allocations: 60.39 kB / 300 MB, free: 8.723 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.008723, allocations: 163.7 kB / 300.2 MB, free: 8.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.008742, allocations: 32.95 kB / 300.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.008776, allocations: 118.2 kB / 300.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.008832, allocations: 73.77 kB / 300.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.0089, allocations: 53.88 kB / 300.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.922e-05/0.008939, allocations: 333.4 kB / 300.7 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.008992, allocations: 21.2 kB / 300.8 MB, free: 8.031 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.009066, allocations: 68.45 kB / 300.8 MB, free: 7.977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.00928, allocations: 165.9 kB / 301 MB, free: 7.898 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.009282, allocations: 0 / 301 MB, free: 7.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002676/0.00955, allocations: 164.1 kB / 301.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.009563, allocations: 7.844 kB / 301.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.009569, allocations: 5.312 kB / 301.2 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.607e-05/0.009665, allocations: 20.16 kB / 301.2 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.009922, allocations: 64.03 kB / 301.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005281/0.01045, allocations: 1.301 MB / 302.6 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.651e-05/0.01055, allocations: 16.97 kB / 302.6 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.01056, allocations: 6.375 kB / 302.6 MB, free: 6.508 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.0001172/0.01068, allocations: 151.8 kB / 302.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.01072, allocations: 19.02 kB / 302.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.01098, allocations: 175.8 kB / 302.9 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01098, allocations: 3.219 kB / 302.9 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01099, allocations: 4.625 kB / 302.9 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01099, allocations: 3.281 kB / 302.9 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.01142, allocations: 372.5 kB / 303.3 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01142, allocations: 2.078 kB / 303.3 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.01162, allocations: 45.25 kB / 303.3 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-05/0.01168, allocations: 16.72 kB / 303.4 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.0117, allocations: 7.906 kB / 303.4 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004499/0.01215, allocations: 1.303 MB / 304.7 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01215, allocations: 1.375 kB / 304.7 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.01249, allocations: 309.2 kB / 305 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.0125, allocations: 18.23 kB / 305 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.01253, allocations: 8.297 kB / 305 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.01265, allocations: 15.23 kB / 305 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.01273, allocations: 33.09 kB / 305 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.01275, allocations: 8.172 kB / 305 MB, free: 4.516 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.01279, allocations: 42.89 kB / 305.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01279, allocations: 0 / 305.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000383/0.01317, allocations: 44.34 kB / 305.1 MB, free: 4.484 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 7.553e-05/0.01324, allocations: 84.95 kB / 305.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.01356, allocations: 242.4 kB / 305.5 MB, free: 4.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.01356, allocations: 1.75 kB / 305.5 MB, free: 4.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.01375, allocations: 191.9 kB / 305.6 MB, free: 4.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.01394, allocations: 25.52 kB / 305.7 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006682/0.01461, allocations: 388.3 kB / 306 MB, free: 3.867 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.061e-05/0.01466, allocations: 85.08 kB / 306.1 MB, free: 3.793 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.926e-05/0.01475, allocations: 24.88 kB / 306.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.01484, allocations: 77.34 kB / 306.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01484, allocations: 0 / 306.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of Templates: time 0.005479/0.02032, allocations: 2.549 MB / 308.8 MB, free: 2.664 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.8317759661003947]