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.0008599/0.0008599, allocations: 77.14 kB / 20.67 MB, free: 3.836 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.0009013/0.0009013, allocations: 165 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.8881/0.8881, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.05282/0.05282, allocations: 12.76 MB / 273.8 MB, free: 124 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.022e-06/1.022e-06, allocations: 0 / 347.9 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.065e-06/9.087e-06, allocations: 2.312 kB / 347.9 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Testers.TestSignalsZOH): time 0.001643/0.001652, allocations: 1.812 MB / 349.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.002346, allocations: 0.6271 MB / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.002409, allocations: 3.938 kB / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.002445, allocations: 15.81 kB / 350.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.002574, allocations: 31.59 kB / 350.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.002737, allocations: 79.83 kB / 350.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.002892, allocations: 179.5 kB / 350.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.002984, allocations: 33.78 kB / 350.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.003123, allocations: 103.8 kB / 350.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.0032, allocations: 59.78 kB / 350.9 MB, free: 14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.003221, allocations: 16 kB / 350.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.754e-05/0.003259, allocations: 16 kB / 350.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.003291, allocations: 43.83 kB / 350.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.003336, allocations: 51.83 kB / 351 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.003475, allocations: 135.5 kB / 351.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003476, allocations: 0 / 351.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003477, allocations: 0 / 351.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.003481, allocations: 0 / 351.1 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.0004882/0.003969, allocations: 0.5742 MB / 351.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.004, allocations: 11.98 kB / 351.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.004132, allocations: 56.77 kB / 351.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.004275, allocations: 170.2 kB / 351.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-05/0.004346, allocations: 127.4 kB / 352.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.004369, allocations: 16.38 kB / 352.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.004536, allocations: 148.1 kB / 352.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.004549, allocations: 192 / 352.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.004564, allocations: 16.09 kB / 352.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.004571, allocations: 4 kB / 352.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.004646, allocations: 51.81 kB / 352.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.005098, allocations: 443.7 kB / 352.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.005209, allocations: 102.9 kB / 352.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.00525, allocations: 39.66 kB / 352.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.005269, allocations: 4 kB / 352.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.005403, allocations: 126.7 kB / 353 MB, free: 11.72 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.005405, allocations: 4 kB / 353 MB, free: 11.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006321/0.006037, allocations: 391.7 kB / 353.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.006061, allocations: 59.34 kB / 353.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.00614, allocations: 206.7 kB / 353.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.006157, allocations: 33.7 kB / 353.7 MB, free: 11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.006239, allocations: 175.3 kB / 353.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.006285, allocations: 79.36 kB / 353.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.006338, allocations: 51.33 kB / 354 MB, free: 10.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.006441, allocations: 0.5078 MB / 354.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.814e-05/0.006479, allocations: 28.25 kB / 354.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.443e-05/0.006543, allocations: 86.64 kB / 354.6 MB, free: 10.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.006761, allocations: 165.4 kB / 354.8 MB, free: 9.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.006762, allocations: 0 / 354.8 MB, free: 9.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002124/0.006975, allocations: 205 kB / 355 MB, free: 9.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.006985, allocations: 7.984 kB / 355 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.006989, allocations: 4 kB / 355 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.88e-05/0.007068, allocations: 23.62 kB / 355 MB, free: 9.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.007205, allocations: 60.03 kB / 355 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007983/0.008003, allocations: 1.918 MB / 357 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.008067, allocations: 15.98 kB / 357 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.008079, allocations: 8 kB / 357 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.0001199/0.008199, allocations: 203 kB / 357.2 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.008227, allocations: 27.91 kB / 357.2 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.008493, allocations: 247.1 kB / 357.5 MB, free: 6.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.008497, allocations: 7.922 kB / 357.5 MB, free: 6.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008499, allocations: 0 / 357.5 MB, free: 6.984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.00851, allocations: 15.84 kB / 357.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.008528, allocations: 8 kB / 357.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.644e-05/0.008584, allocations: 11.98 kB / 357.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.008641, allocations: 43.92 kB / 357.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003289/0.008969, allocations: 357.7 kB / 357.9 MB, free: 6.547 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003237/0.009293, allocations: 0.5306 MB / 358.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.304e-05/0.009366, allocations: 71.62 kB / 358.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.124e-05/0.009407, allocations: 147.1 kB / 358.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of Backend: time 1.8e-07/0.009408, allocations: 0 / 358.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004033/0.009811, allocations: 353.1 kB / 359 MB, free: 5.406 MB / 282.7 MB Notification: Performance of SimCode: time 0.0006096/0.01042, allocations: 1.081 MB / 360.1 MB, free: 4.27 MB / 282.7 MB Notification: Performance of Templates: time 0.004187/0.01461, allocations: 3.135 MB / 363.2 MB, free: 1.172 MB / 282.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.5163020831532776]