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.0007009/0.0007009, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008912/0.001592, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006794/0.0006794, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008601/0.00154, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9513/0.9513, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08865/1.04, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.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.05101/0.05101, allocations: 12.75 MB / 256.9 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007712/0.05872, allocations: 4.831 MB / 261.7 MB, free: 13.14 MB / 266.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.623e-06/1.623e-06, allocations: 0 / 263 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.639e-05, allocations: 2.312 kB / 263 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Testers.TestSignalsZOH): time 0.002659/0.002676, allocations: 1.87 MB / 264.9 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009177/0.003593, allocations: 0.6308 MB / 265.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.003674, allocations: 4 kB / 265.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.387e-05/0.003718, allocations: 19.73 kB / 265.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.403e-05/0.003812, allocations: 31.67 kB / 265.6 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.004006, allocations: 87.7 kB / 265.6 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.0042, allocations: 163.6 kB / 265.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.004314, allocations: 34.44 kB / 265.8 MB, free: 9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.004519, allocations: 135.6 kB / 266 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.004626, allocations: 51.8 kB / 266 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.004656, allocations: 16 kB / 266 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.237e-05/0.004729, allocations: 27.97 kB / 266.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.004769, allocations: 31.88 kB / 266.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.004822, allocations: 31.94 kB / 266.1 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.005002, allocations: 115.5 kB / 266.2 MB, free: 8.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.005012, allocations: 3.938 kB / 266.2 MB, free: 8.594 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005013, allocations: 0 / 266.2 MB, free: 8.594 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.005021, allocations: 0 / 266.2 MB, free: 8.594 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.0006411/0.005662, allocations: 432.8 kB / 266.7 MB, free: 8.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.005699, allocations: 12.03 kB / 266.7 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.005916, allocations: 122 kB / 266.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.006107, allocations: 154.1 kB / 266.9 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.202e-05/0.006199, allocations: 127.2 kB / 267.1 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.006233, allocations: 20.33 kB / 267.1 MB, free: 7.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.006448, allocations: 148.3 kB / 267.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.00646, allocations: 4.172 kB / 267.2 MB, free: 7.496 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.006477, allocations: 8.125 kB / 267.3 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.006484, allocations: 4 kB / 267.3 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.444e-05/0.006578, allocations: 47.83 kB / 267.3 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.007092, allocations: 315.6 kB / 267.6 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.007233, allocations: 86.55 kB / 267.7 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.007283, allocations: 32.84 kB / 267.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.007304, allocations: 4 kB / 267.7 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.007464, allocations: 126.2 kB / 267.9 MB, free: 6.848 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.007466, allocations: 3.938 kB / 267.9 MB, free: 6.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007293/0.008195, allocations: 327.9 kB / 268.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.008231, allocations: 59.39 kB / 268.2 MB, free: 6.445 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.008334, allocations: 160.1 kB / 268.4 MB, free: 6.277 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.008356, allocations: 29.7 kB / 268.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.008405, allocations: 108.6 kB / 268.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.008466, allocations: 83.34 kB / 268.6 MB, free: 6.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.008534, allocations: 49.67 kB / 268.7 MB, free: 5.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.008631, allocations: 330.8 kB / 269 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.008681, allocations: 28.27 kB / 269 MB, free: 5.637 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.008759, allocations: 69.92 kB / 269.1 MB, free: 5.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.00897, allocations: 164.2 kB / 269.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.008972, allocations: 0 / 269.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002444/0.009216, allocations: 166.2 kB / 269.4 MB, free: 5.203 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.009233, allocations: 4 kB / 269.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.009239, allocations: 4 kB / 269.4 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.009348, allocations: 16.84 kB / 269.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.009597, allocations: 71.89 kB / 269.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007933/0.01039, allocations: 1.3 MB / 270.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.096e-05/0.01048, allocations: 15.98 kB / 270.8 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.01054, allocations: 7.984 kB / 270.8 MB, free: 3.691 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.0002009/0.01074, allocations: 147 kB / 271 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.01079, allocations: 23.98 kB / 271 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.01105, allocations: 170.7 kB / 271.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01105, allocations: 4 kB / 271.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.01105, allocations: 3.938 kB / 271.2 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01106, allocations: 3.984 kB / 271.2 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.0114, allocations: 369 kB / 271.5 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.0114, allocations: 0 / 271.5 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.01157, allocations: 56.02 kB / 271.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.01158, allocations: 15.84 kB / 271.6 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.506e-05/0.01163, allocations: 20.86 kB / 271.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.01165, allocations: 7.984 kB / 271.6 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000544/0.01219, allocations: 1.296 MB / 272.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01219, allocations: 4.125 kB / 272.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.01244, allocations: 309.3 kB / 273.2 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.01246, allocations: 8 kB / 273.2 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.01253, allocations: 15.97 kB / 273.2 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.01259, allocations: 31.95 kB / 273.3 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.0126, allocations: 7.984 kB / 273.3 MB, free: 1.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.714e-05/0.01263, allocations: 41.19 kB / 273.3 MB, free: 1.027 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01263, allocations: 7.938 kB / 273.3 MB, free: 1.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.01282, allocations: 40 kB / 273.4 MB, free: 0.9805 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 7.83e-05/0.0129, allocations: 92.34 kB / 273.5 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.01314, allocations: 245 kB / 273.7 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.01315, allocations: 3.984 kB / 273.7 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.0133, allocations: 199.8 kB / 273.9 MB, free: 428 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.01346, allocations: 81.59 kB / 274 MB, free: 340 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.104/0.1175, allocations: 362 kB / 274.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.296e-05/0.1175, allocations: 81.42 kB / 274.4 MB, free: 8.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.175e-05/0.1176, allocations: 24.88 kB / 274.4 MB, free: 8.184 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.1177, allocations: 74.78 kB / 274.5 MB, free: 8.141 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1177, allocations: 3.5 kB / 274.5 MB, free: 8.141 MB / 266.7 MB Notification: Performance of Templates: time 0.004301/0.122, allocations: 2.479 MB / 277 MB, free: 8.07 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 -lv LOG_STATS > Bodylight_Bodylight.Blocks.Signals.Testers.TestSignalsZOH.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6889558006078005]