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.001025/0.001025, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001194/0.001194, allocations: 173 kB / 23.36 MB, free: 1.133 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.103/1.103, allocations: 177.2 MB / 203.8 MB, free: 5.441 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.07924/0.07924, allocations: 12.76 MB / 273 MB, free: 132 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.683e-06/1.683e-06, allocations: 0 / 293.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.556e-05, allocations: 3.734 kB / 293.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Testers.TestSignalsZOH): time 0.002672/0.002697, allocations: 1.854 MB / 295.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003766, allocations: 0.6344 MB / 296.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.00388, allocations: 6.125 kB / 296.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.35e-05/0.003923, allocations: 13.73 kB / 296.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.00414, allocations: 28.91 kB / 296.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.004418, allocations: 87.8 kB / 296.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.004629, allocations: 175.8 kB / 296.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.004745, allocations: 31.62 kB / 296.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.004974, allocations: 114.3 kB / 296.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.743e-05/0.005071, allocations: 54.58 kB / 296.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.005097, allocations: 15.34 kB / 296.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.476e-05/0.005162, allocations: 18.64 kB / 296.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.005196, allocations: 44.11 kB / 297 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.163e-05/0.005248, allocations: 51.34 kB / 297 MB, free: 10 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.00542, allocations: 126.7 kB / 297.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.005423, allocations: 0 / 297.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.005425, allocations: 1.078 kB / 297.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.005429, allocations: 5.188 kB / 297.2 MB, free: 9.934 MB / 266.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.0004975/0.005926, allocations: 394.5 kB / 297.6 MB, free: 9.617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.005963, allocations: 13.55 kB / 297.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.006172, allocations: 48.3 kB / 297.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.006416, allocations: 157.9 kB / 297.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/0.006512, allocations: 120.6 kB / 297.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.006555, allocations: 29.97 kB / 297.9 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.006849, allocations: 146.2 kB / 298.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.006865, allocations: 192 / 298.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.006885, allocations: 12.09 kB / 298.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.006895, allocations: 2.938 kB / 298.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.007023, allocations: 48.36 kB / 298.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.007749, allocations: 321.7 kB / 298.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.007929, allocations: 95.25 kB / 298.5 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.007996, allocations: 29.72 kB / 298.6 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.008021, allocations: 3.641 kB / 298.6 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.008224, allocations: 125.6 kB / 298.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/0.008225, allocations: 0 / 298.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007918/0.009017, allocations: 309.4 kB / 299 MB, free: 8.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.009042, allocations: 61.5 kB / 299 MB, free: 8.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.012e-05/0.009122, allocations: 160.4 kB / 299.2 MB, free: 8.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.009138, allocations: 32.05 kB / 299.2 MB, free: 8.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.00917, allocations: 109.4 kB / 299.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.009217, allocations: 78.83 kB / 299.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.009274, allocations: 49.78 kB / 299.5 MB, free: 8.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.009313, allocations: 338.4 kB / 299.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.009352, allocations: 19.14 kB / 299.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.009411, allocations: 69.72 kB / 299.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.009619, allocations: 165.2 kB / 300 MB, free: 7.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.009621, allocations: 1.312 kB / 300 MB, free: 7.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002545/0.009875, allocations: 158.3 kB / 300.2 MB, free: 7.879 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.009892, allocations: 8.344 kB / 300.2 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.009899, allocations: 2.328 kB / 300.2 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.801e-05/0.009997, allocations: 19.94 kB / 300.2 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.0102, allocations: 71.61 kB / 300.3 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005025/0.0107, allocations: 1.29 MB / 301.6 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.612e-05/0.01078, allocations: 14.08 kB / 301.6 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.0108, allocations: 10.42 kB / 301.6 MB, free: 6.555 MB / 266.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 minZOH.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 continuousMeanValue.y:VARIABLE(flow=false fixed = true stateSelect=StateSelect.always ) \"Connector of Real output signal\" type: Real min1.yMinCriticalPoints:DISCRETE(fixed = true protected = true ) type: Real max1.yhold:DISCRETE(fixed = true protected = true ) \"holding the extreme value\" type: Real minZOH.yt:VARIABLE(fixed = true stateSelect=StateSelect.always protected = true ) \"temporary y\" type: Real maxZOH.yt:VARIABLE(fixed = true stateSelect=StateSelect.always protected = true ) \"temporary y\" 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.minZOH.y,$PRE.maxZOH.y,minZOH.y,maxZOH.y,$PRE.min1.yMinCriticalPoints,$PRE.max1.yhold,min1.yMinCriticalPoints,max1.yhold,$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.000137/0.01093, allocations: 157.4 kB / 301.8 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.01096, allocations: 26.27 kB / 301.8 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.01118, allocations: 173.7 kB / 302 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01119, allocations: 3.656 kB / 302 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01119, allocations: 4 kB / 302 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.01119, allocations: 1.594 kB / 302 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.01155, allocations: 373.9 kB / 302.3 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01156, allocations: 0 / 302.3 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.01171, allocations: 48.67 kB / 302.4 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.812e-05/0.01177, allocations: 21.61 kB / 302.4 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.01179, allocations: 9.516 kB / 302.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004012/0.01219, allocations: 1.291 MB / 303.7 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.01219, allocations: 0 / 303.7 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.01248, allocations: 319.2 kB / 304 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.01249, allocations: 13.94 kB / 304 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.01251, allocations: 6.891 kB / 304 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.01259, allocations: 15.77 kB / 304.1 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.01268, allocations: 37.67 kB / 304.1 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.0127, allocations: 11.55 kB / 304.1 MB, free: 4.547 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.811e-05/0.01274, allocations: 35.45 kB / 304.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01274, allocations: 1.5 kB / 304.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.01298, allocations: 43.66 kB / 304.2 MB, free: 4.523 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (maxZOH.yt,minZOH.yt,continuousMeanValue.y) * Number of discrete variables: 11 (reset,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,maxZOH.y,minZOH.y,max1.yhold,min1.yMinCriticalPoints,zOH.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 8.706e-05/0.01307, allocations: 87.83 kB / 304.3 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.01336, allocations: 240.2 kB / 304.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.01336, allocations: 1.938 kB / 304.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.01351, allocations: 191.8 kB / 304.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.01366, allocations: 29.05 kB / 304.7 MB, free: 4.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.01428, allocations: 383.7 kB / 305.1 MB, free: 3.906 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.311e-05/0.01432, allocations: 88.12 kB / 305.2 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.581e-05/0.01438, allocations: 21.23 kB / 305.2 MB, free: 3.824 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.339e-05/0.01447, allocations: 76.39 kB / 305.3 MB, free: 3.773 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01447, allocations: 0 / 305.3 MB, free: 3.773 MB / 266.7 MB Notification: Performance of Templates: time 0.004496/0.01896, allocations: 2.555 MB / 307.8 MB, free: 2.723 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Blocks.Signals.Testers.TestSignalsZOH.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.905224740039557]