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.001219/0.001219, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001179/0.001179, allocations: 169 kB / 23.28 MB, free: 1.219 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.029/1.029, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.07371/0.07371, allocations: 12.76 MB / 273 MB, free: 120 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.713e-06/1.713e-06, allocations: 0 / 347.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.355e-06/1.007e-05, allocations: 10.25 kB / 347.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Testers.TestSignalsZOH): time 0.001733/0.001743, allocations: 1.807 MB / 349 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007758/0.002519, allocations: 0.6309 MB / 349.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.002599, allocations: 4 kB / 349.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.002633, allocations: 15.75 kB / 349.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.002783, allocations: 35.66 kB / 349.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.002982, allocations: 79.77 kB / 349.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.003278, allocations: 171.5 kB / 349.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.003384, allocations: 37.77 kB / 349.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.003549, allocations: 99.78 kB / 350 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.003625, allocations: 59.78 kB / 350.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.00365, allocations: 16 kB / 350.1 MB, free: 14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.293e-05/0.003693, allocations: 20 kB / 350.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.003725, allocations: 43.83 kB / 350.2 MB, free: 13.94 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.003772, allocations: 51.83 kB / 350.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.003919, allocations: 135.5 kB / 350.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003921, allocations: 0 / 350.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003921, allocations: 0 / 350.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.003925, allocations: 0 / 350.3 MB, free: 13.75 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.000544/0.004469, allocations: 0.5742 MB / 350.9 MB, free: 13.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.004507, allocations: 15.98 kB / 350.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.004646, allocations: 52.77 kB / 351 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.004791, allocations: 168.3 kB / 351.1 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/0.004861, allocations: 123.4 kB / 351.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.004887, allocations: 24.31 kB / 351.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.005054, allocations: 144.2 kB / 351.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.005065, allocations: 192 / 351.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.00508, allocations: 16.11 kB / 351.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.005086, allocations: 0 / 351.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.96e-05/0.005156, allocations: 51.81 kB / 351.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.005605, allocations: 439.7 kB / 351.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.005725, allocations: 110.9 kB / 352 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/0.005768, allocations: 42.16 kB / 352.1 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.005789, allocations: 4 kB / 352.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.005913, allocations: 139.1 kB / 352.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.243e-06/0.005914, allocations: 0 / 352.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006485/0.006563, allocations: 391.6 kB / 352.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.006594, allocations: 59.41 kB / 352.7 MB, free: 11.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.006688, allocations: 202.7 kB / 352.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.006704, allocations: 33.7 kB / 352.9 MB, free: 11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.006765, allocations: 179.3 kB / 353.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.006812, allocations: 75.36 kB / 353.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.00687, allocations: 59.31 kB / 353.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004034/0.007274, allocations: 0.5 MB / 353.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.007314, allocations: 28.25 kB / 353.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.007382, allocations: 86.64 kB / 353.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.007543, allocations: 166.2 kB / 354 MB, free: 9.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007544, allocations: 0 / 354 MB, free: 9.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002164/0.007761, allocations: 204.2 kB / 354.2 MB, free: 9.637 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.007773, allocations: 8 kB / 354.2 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007778, allocations: 0 / 354.2 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.122e-05/0.007869, allocations: 31.56 kB / 354.2 MB, free: 9.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.008004, allocations: 51.95 kB / 354.3 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007731/0.008777, allocations: 1.922 MB / 356.2 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.008842, allocations: 15.98 kB / 356.2 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.008853, allocations: 12 kB / 356.2 MB, free: 7.484 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.0001421/0.008995, allocations: 209.8 kB / 356.4 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.009024, allocations: 27.89 kB / 356.4 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.009289, allocations: 235.2 kB / 356.7 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.00929, allocations: 8 kB / 356.7 MB, free: 6.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.009292, allocations: 0 / 356.7 MB, free: 6.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.009298, allocations: 7.922 kB / 356.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.009728, allocations: 0.5266 MB / 357.2 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.00973, allocations: 0 / 357.2 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.009851, allocations: 47.91 kB / 357.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.256e-05/0.009904, allocations: 27.61 kB / 357.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.009915, allocations: 4 kB / 357.3 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006449/0.01056, allocations: 1.922 MB / 359.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01056, allocations: 0 / 359.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.01089, allocations: 440.8 kB / 359.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.01091, allocations: 23.89 kB / 359.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.01092, allocations: 4 kB / 359.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.011, allocations: 19.92 kB / 359.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.01106, allocations: 31.94 kB / 359.7 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.01108, allocations: 11.98 kB / 359.7 MB, free: 3.758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.62e-05/0.01112, allocations: 147.2 kB / 359.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01112, allocations: 0 / 359.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.01135, allocations: 43.98 kB / 359.9 MB, free: 3.57 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.528e-05/0.01143, allocations: 111.2 kB / 360 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.0117, allocations: 303.9 kB / 360.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01171, allocations: 0 / 360.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004091/0.01211, allocations: 261.3 kB / 360.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.01228, allocations: 28.23 kB / 360.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.01282, allocations: 387.2 kB / 361 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.01286, allocations: 83.84 kB / 361.1 MB, free: 2.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.887e-05/0.01292, allocations: 17.64 kB / 361.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.013, allocations: 98.12 kB / 361.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.013, allocations: 0 / 361.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of Templates: time 0.00388/0.01688, allocations: 2.565 MB / 363.7 MB, free: 15.67 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.947876976337284]