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.0009946/0.0009946, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009983/0.0009983, allocations: 173 kB / 23.03 MB, free: 1.543 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.048/1.048, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.05516/0.05516, allocations: 12.76 MB / 272.7 MB, free: 284 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.452e-06/1.452e-06, allocations: 0 / 346.7 MB, free: 1.254 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.578e-05, allocations: 6.312 kB / 346.7 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Testers.TestSignalsZOH): time 0.001914/0.00193, allocations: 1.826 MB / 348.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007874/0.002717, allocations: 0.631 MB / 349.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.261e-05/0.00279, allocations: 3.938 kB / 349.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.002825, allocations: 15.8 kB / 349.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.002989, allocations: 27.73 kB / 349.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.003178, allocations: 91.69 kB / 349.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.003355, allocations: 167.6 kB / 349.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.003474, allocations: 37.78 kB / 349.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.003652, allocations: 107.7 kB / 349.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.407e-05/0.003736, allocations: 55.78 kB / 349.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.003762, allocations: 16 kB / 349.7 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.212e-05/0.003814, allocations: 23.98 kB / 349.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.003851, allocations: 39.89 kB / 349.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.00391, allocations: 51.83 kB / 349.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.004078, allocations: 135.4 kB / 349.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004081, allocations: 0 / 349.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004082, allocations: 0 / 349.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.004086, allocations: 4 kB / 349.9 MB, free: 14.01 MB / 282.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.0006354/0.004721, allocations: 0.5665 MB / 350.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.004762, allocations: 11.98 kB / 350.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.004926, allocations: 52.78 kB / 350.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.005113, allocations: 172.3 kB / 350.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.951e-05/0.005203, allocations: 123.4 kB / 350.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.005232, allocations: 20.38 kB / 350.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.005454, allocations: 156.2 kB / 351 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.005463, allocations: 192 / 351 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.00548, allocations: 12.12 kB / 351 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.005487, allocations: 4 kB / 351 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.005601, allocations: 63.81 kB / 351.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.006161, allocations: 475.1 kB / 351.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.006316, allocations: 121 kB / 351.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.006376, allocations: 39.67 kB / 351.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.006398, allocations: 4 kB / 351.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.006553, allocations: 149.7 kB / 351.9 MB, free: 11.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.704e-06/0.006555, allocations: 3.938 kB / 351.9 MB, free: 11.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008317/0.007387, allocations: 430.8 kB / 352.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.007425, allocations: 59.41 kB / 352.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.007536, allocations: 214.6 kB / 352.5 MB, free: 11.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.007554, allocations: 29.7 kB / 352.6 MB, free: 11.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.007622, allocations: 167.4 kB / 352.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.007674, allocations: 83.36 kB / 352.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.007728, allocations: 51.36 kB / 352.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.007853, allocations: 0.5078 MB / 353.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.007912, allocations: 32.27 kB / 353.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.941e-05/0.008001, allocations: 94.59 kB / 353.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.008218, allocations: 185.2 kB / 353.7 MB, free: 9.953 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.008219, allocations: 4 kB / 353.7 MB, free: 9.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002595/0.008479, allocations: 216.2 kB / 353.9 MB, free: 9.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.008492, allocations: 11.94 kB / 353.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.008497, allocations: 64 / 353.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.008623, allocations: 27.67 kB / 353.9 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.008772, allocations: 64.03 kB / 354 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000842/0.009614, allocations: 1.945 MB / 355.9 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.009679, allocations: 15.98 kB / 356 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.009691, allocations: 8 kB / 356 MB, free: 7.539 MB / 282.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 maxZOH.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.yt:VARIABLE(fixed = true stateSelect=StateSelect.always protected = true ) \"temporary y\" type: Real minZOH.yt:VARIABLE(fixed = true stateSelect=StateSelect.always protected = true ) \"temporary y\" type: Real max1.yhold:DISCRETE(fixed = true protected = true ) \"holding the extreme value\" type: Real min1.yMinCriticalPoints:DISCRETE(fixed = true protected = true ) type: Real continuousMeanValue.y:VARIABLE(flow=false fixed = true stateSelect=StateSelect.always ) \"Connector of Real output signal\" 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.maxZOH.y,$PRE.minZOH.y,maxZOH.y,minZOH.y,$PRE.max1.yhold,$PRE.min1.yMinCriticalPoints,max1.yhold,min1.yMinCriticalPoints,$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.0001419/0.009833, allocations: 199.1 kB / 356.2 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.009861, allocations: 19.91 kB / 356.2 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.01017, allocations: 271.1 kB / 356.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01017, allocations: 3.938 kB / 356.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-06/0.01017, allocations: 0 / 356.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01017, allocations: 7.984 kB / 356.5 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.01067, allocations: 0.569 MB / 357 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01068, allocations: 0 / 357 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.0108, allocations: 39.97 kB / 357.1 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.524e-05/0.01085, allocations: 23.69 kB / 357.1 MB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.01087, allocations: 11.98 kB / 357.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007045/0.01157, allocations: 1.945 MB / 359 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01157, allocations: 3.938 kB / 359 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.01197, allocations: 468.7 kB / 359.5 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.01198, allocations: 19.91 kB / 359.5 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.01199, allocations: 4 kB / 359.5 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.01207, allocations: 15.98 kB / 359.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.01214, allocations: 35.94 kB / 359.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.01216, allocations: 11.98 kB / 359.6 MB, free: 3.691 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.402e-05/0.01221, allocations: 151.2 kB / 359.7 MB, free: 3.543 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01221, allocations: 0 / 359.7 MB, free: 3.543 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002205/0.01243, allocations: 47.98 kB / 359.8 MB, free: 3.496 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (continuousMeanValue.y,minZOH.yt,maxZOH.yt) * Number of discrete variables: 11 (reset,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,zOH.y,min1.yMinCriticalPoints,max1.yhold,minZOH.y,maxZOH.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.626e-05/0.01251, allocations: 100.7 kB / 359.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003477/0.01286, allocations: 331.8 kB / 360.2 MB, free: 3.047 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01286, allocations: 0 / 360.2 MB, free: 3.047 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.01305, allocations: 265.7 kB / 360.5 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.01322, allocations: 27.92 kB / 360.5 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.01388, allocations: 394.7 kB / 360.9 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.342e-05/0.01393, allocations: 87.78 kB / 361 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.712e-05/0.01399, allocations: 21.64 kB / 361 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.01404, allocations: 24.48 kB / 361 MB, free: 2.176 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01404, allocations: 0 / 361 MB, free: 2.176 MB / 282.7 MB Notification: Performance of Templates: time 0.0042/0.01824, allocations: 2.481 MB / 363.5 MB, free: 15.71 MB / 298.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.882772499229759]