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.001929/0.001929, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.003018/0.003018, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.77/1.77, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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.0997/0.0997, allocations: 12.74 MB / 271.9 MB, free: 0.4922 MB / 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.333e-06/1.333e-06, allocations: 0 / 403.1 MB, free: 8.086 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.636e-05, allocations: 2.281 kB / 403.1 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Testers.TestSignalsZOH): time 0.007198/0.007225, allocations: 1.766 MB / 404.9 MB, free: 6.305 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004638/0.01186, allocations: 0.6076 MB / 405.5 MB, free: 5.691 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.01198, allocations: 7.938 kB / 405.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.03e-05/0.01204, allocations: 11.81 kB / 405.5 MB, free: 5.672 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.01225, allocations: 31.61 kB / 405.5 MB, free: 5.641 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.01262, allocations: 91.75 kB / 405.6 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000332/0.01295, allocations: 167.5 kB / 405.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.01311, allocations: 33.78 kB / 405.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.0134, allocations: 107.7 kB / 405.9 MB, free: 5.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.01356, allocations: 63.72 kB / 406 MB, free: 5.188 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.01361, allocations: 16 kB / 406 MB, free: 5.172 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.121e-05/0.01368, allocations: 19.98 kB / 406 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.01375, allocations: 43.83 kB / 406.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.01386, allocations: 55.83 kB / 406.1 MB, free: 5.055 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.01421, allocations: 175.4 kB / 406.3 MB, free: 4.883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01421, allocations: 3.938 kB / 406.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01421, allocations: 0 / 406.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.01422, allocations: 0 / 406.3 MB, free: 4.879 MB / 330.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.004181/0.0184, allocations: 481.3 kB / 406.8 MB, free: 4.371 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.01844, allocations: 11.98 kB / 406.8 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.01876, allocations: 44.77 kB / 406.8 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.01908, allocations: 166.1 kB / 407 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.01927, allocations: 115.4 kB / 407.1 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.01932, allocations: 20.36 kB / 407.1 MB, free: 3.973 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.01988, allocations: 179.5 kB / 407.3 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.0199, allocations: 4.188 kB / 407.3 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.01993, allocations: 12.12 kB / 407.3 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.01994, allocations: 3.938 kB / 407.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003523/0.02346, allocations: 127.9 kB / 407.4 MB, free: 3.648 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.02467, allocations: 443.8 kB / 407.9 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.0251, allocations: 141.2 kB / 408 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.02539, allocations: 80.81 kB / 408.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.02542, allocations: 0 / 408.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004798/0.0259, allocations: 167.2 kB / 408.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/0.0259, allocations: 4 kB / 408.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.005519/0.03142, allocations: 0.5827 MB / 408.8 MB, free: 2.188 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.03148, allocations: 55.41 kB / 408.9 MB, free: 2.121 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.0317, allocations: 158.3 kB / 409 MB, free: 1.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.03175, allocations: 33.7 kB / 409.1 MB, free: 1.918 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.03187, allocations: 120.6 kB / 409.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.03198, allocations: 75.38 kB / 409.3 MB, free: 1.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.0321, allocations: 45.7 kB / 409.3 MB, free: 1.672 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.003286/0.03539, allocations: 338.8 kB / 409.6 MB, free: 1.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.03573, allocations: 76.22 kB / 409.7 MB, free: 1.258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.03612, allocations: 125.7 kB / 409.8 MB, free: 1.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/0.03814, allocations: 449 kB / 410.3 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.03815, allocations: 0 / 410.3 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001204/0.03935, allocations: 301.1 kB / 410.6 MB, free: 368 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.03937, allocations: 7.938 kB / 410.6 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.03938, allocations: 4.125 kB / 410.6 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.03951, allocations: 28.84 kB / 410.6 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.03996, allocations: 59.83 kB / 410.7 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.174/0.214, allocations: 1.381 MB / 412 MB, free: 20 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.2142, allocations: 20.91 kB / 412.1 MB, free: 20 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.2143, allocations: 13.77 kB / 412.1 MB, free: 20 MB / 330.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.0002066/0.2145, allocations: 157 kB / 412.2 MB, free: 19.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.2145, allocations: 22.22 kB / 412.2 MB, free: 19.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007564/0.2153, allocations: 355.5 kB / 412.6 MB, free: 19.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2153, allocations: 2.25 kB / 412.6 MB, free: 19.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.2153, allocations: 1.062 kB / 412.6 MB, free: 19.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2153, allocations: 1.312 kB / 412.6 MB, free: 19.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009394/0.2162, allocations: 0.6088 MB / 413.2 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2162, allocations: 0.5156 kB / 413.2 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.2165, allocations: 52.36 kB / 413.3 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.186e-05/0.2166, allocations: 20.78 kB / 413.3 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.2166, allocations: 9.094 kB / 413.3 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007386/0.2173, allocations: 1.38 MB / 414.7 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2173, allocations: 1.75 kB / 414.7 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.2183, allocations: 0.5501 MB / 415.2 MB, free: 17.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.2183, allocations: 15.5 kB / 415.2 MB, free: 17.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.2183, allocations: 8.484 kB / 415.2 MB, free: 17.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2185, allocations: 22.22 kB / 415.3 MB, free: 17.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.2186, allocations: 29.39 kB / 415.3 MB, free: 17.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.2187, allocations: 18.34 kB / 415.3 MB, free: 17.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.105e-05/0.2187, allocations: 117.5 kB / 415.4 MB, free: 17.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2187, allocations: 0 / 415.4 MB, free: 17.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.2191, allocations: 45.42 kB / 415.5 MB, free: 17.8 MB / 330.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.0001192/0.2192, allocations: 109.4 kB / 415.6 MB, free: 17.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.2199, allocations: 357.8 kB / 415.9 MB, free: 17.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2199, allocations: 0 / 415.9 MB, free: 17.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.2203, allocations: 241.4 kB / 416.2 MB, free: 17.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.2206, allocations: 16.94 kB / 416.2 MB, free: 17.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.2213, allocations: 410.6 kB / 416.6 MB, free: 17.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.2214, allocations: 123.8 kB / 416.7 MB, free: 17.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000101/0.2215, allocations: 29.22 kB / 416.7 MB, free: 17.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.721e-05/0.2216, allocations: 26.8 kB / 416.8 MB, free: 17.03 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2216, allocations: 0 / 416.8 MB, free: 17.03 MB / 330.7 MB Notification: Performance of Templates: time 0.006846/0.2284, allocations: 2.362 MB / 419.1 MB, free: 16.81 MB / 330.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: 5.576778548303992]