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.001415/0.001415, 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.001233/0.001233, allocations: 169 kB / 23.02 MB, free: 1.547 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.065/1.065, allocations: 177.1 MB / 203.4 MB, free: 5.418 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.0681/0.0681, allocations: 12.76 MB / 272.7 MB, free: 144 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 2.254e-06/2.254e-06, allocations: 0 / 346.7 MB, free: 1.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.4e-05/3.626e-05, allocations: 8.078 kB / 346.7 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Testers.TestSignalsZOH): time 0.005843/0.00588, allocations: 1.82 MB / 348.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.007273, allocations: 0.6348 MB / 349.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.007392, allocations: 3.938 kB / 349.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.95e-05/0.007451, allocations: 11.81 kB / 349.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.007693, allocations: 27.73 kB / 349.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.007981, allocations: 95.69 kB / 349.3 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.008176, allocations: 167.6 kB / 349.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.008311, allocations: 29.78 kB / 349.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.0085, allocations: 115.6 kB / 349.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.008592, allocations: 51.8 kB / 349.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.008622, allocations: 16 kB / 349.7 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.315e-05/0.008675, allocations: 19.98 kB / 349.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.008714, allocations: 39.89 kB / 349.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.008779, allocations: 55.83 kB / 349.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.008974, allocations: 139.4 kB / 349.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.008977, allocations: 0 / 349.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.008979, allocations: 0 / 349.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.008984, allocations: 0 / 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.0007209/0.009705, allocations: 0.5665 MB / 350.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.009749, allocations: 11.98 kB / 350.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.009925, allocations: 64.77 kB / 350.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.01014, allocations: 168.3 kB / 350.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.01024, allocations: 123.4 kB / 350.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.01028, allocations: 20.36 kB / 350.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.0105, allocations: 152.2 kB / 351 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.01052, allocations: 192 / 351 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.01053, allocations: 16.11 kB / 351 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.01054, allocations: 4 kB / 351 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.01066, allocations: 67.75 kB / 351.1 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.01122, allocations: 471.1 kB / 351.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.01138, allocations: 103 kB / 351.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.79e-05/0.01144, allocations: 51.66 kB / 351.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.01146, allocations: 7.938 kB / 351.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.01163, allocations: 137.4 kB / 351.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.01163, allocations: 0 / 351.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008099/0.01244, allocations: 444.3 kB / 352.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.01248, allocations: 55.41 kB / 352.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.01259, allocations: 214 kB / 352.5 MB, free: 11.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.01261, allocations: 33.7 kB / 352.6 MB, free: 11.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.01268, allocations: 179.3 kB / 352.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.01273, allocations: 67.39 kB / 352.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.01278, allocations: 59.34 kB / 352.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.01291, allocations: 0.5 MB / 353.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.004e-05/0.01297, allocations: 32.25 kB / 353.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.792e-05/0.01306, allocations: 98.66 kB / 353.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.01328, allocations: 185.3 kB / 353.7 MB, free: 9.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.01328, allocations: 3.938 kB / 353.7 MB, free: 9.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002677/0.01355, allocations: 213 kB / 353.9 MB, free: 9.727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.01356, allocations: 7.938 kB / 353.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.01358, allocations: 4.125 kB / 353.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.01372, allocations: 23.69 kB / 353.9 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.01388, allocations: 55.91 kB / 354 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.01492, allocations: 1.961 MB / 355.9 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.015, allocations: 12 kB / 356 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.01501, allocations: 11.98 kB / 356 MB, free: 7.531 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.0001901/0.0152, allocations: 191.1 kB / 356.2 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.01524, allocations: 31.89 kB / 356.2 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.01559, allocations: 259.1 kB / 356.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.0156, allocations: 7.938 kB / 356.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.0156, allocations: 0 / 356.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.0156, allocations: 0 / 356.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.01617, allocations: 0.573 MB / 357 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01617, allocations: 0 / 357 MB, free: 6.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.0163, allocations: 43.97 kB / 357.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-05/0.01637, allocations: 27.61 kB / 357.1 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.01639, allocations: 4 kB / 357.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000834/0.01722, allocations: 1.945 MB / 359 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01722, allocations: 0 / 359 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.0177, allocations: 468.7 kB / 359.5 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.01771, allocations: 23.91 kB / 359.5 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.01773, allocations: 3.984 kB / 359.5 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.01781, allocations: 20.08 kB / 359.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/0.0179, allocations: 35.92 kB / 359.6 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.01793, allocations: 15.98 kB / 359.6 MB, free: 3.684 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.01801, allocations: 151.2 kB / 359.7 MB, free: 3.535 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01801, allocations: 0 / 359.7 MB, free: 3.535 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.01826, allocations: 40 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 0.0001384/0.0184, allocations: 109.1 kB / 359.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.01883, allocations: 327.8 kB / 360.2 MB, free: 3.043 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01883, allocations: 0 / 360.2 MB, free: 3.043 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.01902, allocations: 265.4 kB / 360.5 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.01921, allocations: 27.92 kB / 360.5 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007194/0.01993, allocations: 395.5 kB / 360.9 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.209e-05/0.01998, allocations: 83.84 kB / 361 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.02004, allocations: 21.62 kB / 361 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.02009, allocations: 28.5 kB / 361 MB, free: 2.168 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02009, allocations: 0 / 361 MB, free: 2.168 MB / 282.7 MB Notification: Performance of Templates: time 0.004517/0.02461, allocations: 2.48 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: 3.2405886370688677]