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.0009547/0.0009547, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009129/0.0009129, allocations: 169 kB / 24.06 MB, free: 456 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 0.9522/0.9522, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.05476/0.05476, allocations: 12.76 MB / 273.8 MB, free: 116 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.563e-06/1.563e-06, allocations: 0 / 347.9 MB, free: 0.957 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.838e-05, allocations: 2.312 kB / 347.9 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Testers.TestSignalsZOH): time 0.002512/0.00253, allocations: 1.811 MB / 349.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.00332, allocations: 0.6309 MB / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.003395, allocations: 0 / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.003431, allocations: 19.73 kB / 350.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.003572, allocations: 23.73 kB / 350.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.003765, allocations: 99.67 kB / 350.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.003931, allocations: 167.6 kB / 350.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.004039, allocations: 29.78 kB / 350.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.004196, allocations: 103.7 kB / 350.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.854e-05/0.004275, allocations: 59.78 kB / 350.9 MB, free: 14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.004299, allocations: 16 kB / 350.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.332e-05/0.004342, allocations: 19.98 kB / 350.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.004377, allocations: 43.88 kB / 350.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.004426, allocations: 51.83 kB / 351 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.004573, allocations: 135.4 kB / 351.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004575, allocations: 4 kB / 351.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 5e-07/0.004575, allocations: 0 / 351.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.004579, allocations: 0 / 351.1 MB, free: 13.74 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.0005353/0.005114, allocations: 0.5703 MB / 351.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.005145, allocations: 11.98 kB / 351.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.00528, allocations: 52.78 kB / 351.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.005433, allocations: 172.3 kB / 351.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.005505, allocations: 127.4 kB / 352.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.005533, allocations: 24.3 kB / 352.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.005702, allocations: 140.2 kB / 352.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.005712, allocations: 192 / 352.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.005726, allocations: 8.125 kB / 352.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.005731, allocations: 4 kB / 352.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/0.005806, allocations: 55.8 kB / 352.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.006264, allocations: 443.7 kB / 352.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.006381, allocations: 102.9 kB / 352.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.006422, allocations: 35.67 kB / 352.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.00644, allocations: 7.984 kB / 352.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.006561, allocations: 134.7 kB / 353 MB, free: 11.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 9.71e-07/0.006562, allocations: 4 kB / 353 MB, free: 11.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006397/0.007202, allocations: 387.6 kB / 353.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.007227, allocations: 55.41 kB / 353.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.007316, allocations: 214.6 kB / 353.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.007333, allocations: 33.7 kB / 353.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.007389, allocations: 171.3 kB / 353.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.007438, allocations: 83.34 kB / 353.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.007493, allocations: 51.33 kB / 354 MB, free: 10.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.0076, allocations: 0.5039 MB / 354.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.00764, allocations: 24.27 kB / 354.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/0.007706, allocations: 94.61 kB / 354.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.007873, allocations: 162.2 kB / 354.7 MB, free: 9.836 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.007874, allocations: 0 / 354.7 MB, free: 9.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002164/0.008091, allocations: 204.4 kB / 354.9 MB, free: 9.629 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.008101, allocations: 4 kB / 354.9 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.008107, allocations: 4 kB / 355 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.491e-05/0.008192, allocations: 35.67 kB / 355 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.00833, allocations: 55.97 kB / 355 MB, free: 9.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007229/0.009053, allocations: 1.918 MB / 357 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.009122, allocations: 20.11 kB / 357 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.009134, allocations: 8 kB / 357 MB, free: 7.473 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.0001337/0.009268, allocations: 202.8 kB / 357.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.009298, allocations: 31.91 kB / 357.2 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.009555, allocations: 243.1 kB / 357.5 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.009557, allocations: 4 kB / 357.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.009558, allocations: 0 / 357.5 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.009562, allocations: 3.938 kB / 357.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.009992, allocations: 0.5189 MB / 358 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.009994, allocations: 4 kB / 358 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.01012, allocations: 43.91 kB / 358 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.992e-05/0.01017, allocations: 27.67 kB / 358.1 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.01018, allocations: 15.98 kB / 358.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006367/0.01082, allocations: 1.915 MB / 360 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01082, allocations: 0 / 360 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.01115, allocations: 440.6 kB / 360.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.01116, allocations: 27.84 kB / 360.4 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.01118, allocations: 8 kB / 360.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.01126, allocations: 15.92 kB / 360.5 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.01131, allocations: 40 kB / 360.5 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.01133, allocations: 11.98 kB / 360.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.408e-05/0.01138, allocations: 147.1 kB / 360.7 MB, free: 3.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.1e-08/0.01138, allocations: 0 / 360.7 MB, free: 3.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01161, allocations: 44 kB / 360.7 MB, free: 3.551 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.191e-05/0.01168, allocations: 107.2 kB / 360.8 MB, free: 3.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.01196, allocations: 303.9 kB / 361.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01196, allocations: 0 / 361.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.01211, allocations: 257.3 kB / 361.4 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.01227, allocations: 26.95 kB / 361.4 MB, free: 2.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.01279, allocations: 383.2 kB / 361.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.216e-05/0.01283, allocations: 88.09 kB / 361.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.764e-05/0.01289, allocations: 21.62 kB / 361.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.01297, allocations: 94.2 kB / 362 MB, free: 2.199 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01297, allocations: 4 kB / 362 MB, free: 2.195 MB / 282.7 MB Notification: Performance of Templates: time 0.003935/0.0169, allocations: 2.628 MB / 364.6 MB, free: 15.58 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.8205787991173565]