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.002212/0.002212, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002362/0.002362, allocations: 218.9 kB / 22.25 MB, free: 3.566 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 1.814/1.814, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.1078/0.1078, allocations: 17.16 MB / 329.6 MB, free: 0.7305 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: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.01113/0.01113, allocations: 79.89 kB / 460.7 MB, free: 26.39 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1258, allocations: 57.77 MB / 0.5063 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Testers.TestSignalsZOH): time 0.003344/0.1291, allocations: 1.753 MB / 0.508 GB, free: 14.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1304, allocations: 0.6078 MB / 0.5086 GB, free: 14.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.1305, allocations: 3.938 kB / 0.5086 GB, free: 14.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 5.494e-05/0.1306, allocations: 19.73 kB / 0.5086 GB, free: 14.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.1308, allocations: 19.75 kB / 0.5087 GB, free: 14.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.131, allocations: 87.83 kB / 0.5087 GB, free: 14.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.1313, allocations: 175.6 kB / 0.5089 GB, free: 13.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1314, allocations: 33.78 kB / 0.5089 GB, free: 13.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.1316, allocations: 75.72 kB / 0.509 GB, free: 13.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.1318, allocations: 75.53 kB / 0.5091 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.1318, allocations: 16 kB / 0.5091 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.1319, allocations: 16 kB / 0.5091 GB, free: 13.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.1319, allocations: 51.81 kB / 0.5092 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.219e-05/0.132, allocations: 67.66 kB / 0.5092 GB, free: 13.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.1323, allocations: 171.3 kB / 0.5094 GB, free: 13.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1323, allocations: 3.938 kB / 0.5094 GB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1323, allocations: 0 / 0.5094 GB, free: 13.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1323, allocations: 3.984 kB / 0.5094 GB, free: 13.34 MB / 378.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.0009826/0.1333, allocations: 485.2 kB / 0.5099 GB, free: 12.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1333, allocations: 15.97 kB / 0.5099 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.1336, allocations: 36.81 kB / 0.5099 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.1338, allocations: 166.2 kB / 0.5101 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.134, allocations: 127.4 kB / 0.5102 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.1341, allocations: 20.33 kB / 0.5102 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.1345, allocations: 177.5 kB / 0.5104 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1345, allocations: 3.984 kB / 0.5104 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.1345, allocations: 8 kB / 0.5104 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1345, allocations: 4 kB / 0.5104 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003591/0.1349, allocations: 131.8 kB / 0.5105 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009176/0.1358, allocations: 431.9 kB / 0.5109 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.1361, allocations: 138.5 kB / 0.5111 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.1363, allocations: 83.62 kB / 0.5111 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1364, allocations: 0 / 0.5111 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003608/0.1367, allocations: 175.2 kB / 0.5113 GB, free: 11.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.1367, allocations: 0 / 0.5113 GB, free: 11.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001813/0.1385, allocations: 0.5866 MB / 0.5119 GB, free: 10.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.1386, allocations: 63.34 kB / 0.5119 GB, free: 10.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1388, allocations: 150.4 kB / 0.5121 GB, free: 10.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.1388, allocations: 33.7 kB / 0.5121 GB, free: 10.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.1389, allocations: 120.6 kB / 0.5122 GB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.654e-05/0.139, allocations: 83.31 kB / 0.5123 GB, free: 10.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1391, allocations: 53.69 kB / 0.5124 GB, free: 10.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1393, allocations: 326.8 kB / 0.5127 GB, free: 9.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.1395, allocations: 80.22 kB / 0.5128 GB, free: 9.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.1398, allocations: 125.6 kB / 0.5129 GB, free: 9.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.1411, allocations: 449 kB / 0.5133 GB, free: 9.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1411, allocations: 0 / 0.5133 GB, free: 9.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007066/0.1418, allocations: 308.8 kB / 0.5136 GB, free: 8.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1419, allocations: 12.12 kB / 0.5136 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1419, allocations: 0 / 0.5136 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.142, allocations: 24.86 kB / 0.5136 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.1423, allocations: 51.89 kB / 0.5137 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.1437, allocations: 1.383 MB / 0.515 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.1439, allocations: 20.14 kB / 0.515 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.1439, allocations: 15.98 kB / 0.5151 GB, free: 7.184 MB / 378.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.0002379/0.1442, allocations: 150.4 kB / 0.5152 GB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.1442, allocations: 23.86 kB / 0.5152 GB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008846/0.1451, allocations: 355.5 kB / 0.5156 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1451, allocations: 0 / 0.5156 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.1451, allocations: 4 kB / 0.5156 GB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1451, allocations: 0 / 0.5156 GB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.1463, allocations: 0.6185 MB / 0.5162 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1463, allocations: 0 / 0.5162 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.1466, allocations: 51.89 kB / 0.5162 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.266e-05/0.1466, allocations: 24.8 kB / 0.5163 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.1467, allocations: 7.984 kB / 0.5163 GB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.148, allocations: 1.394 MB / 0.5176 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-05/0.148, allocations: 7.969 kB / 0.5176 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.1491, allocations: 0.5445 MB / 0.5182 GB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.1491, allocations: 15.91 kB / 0.5182 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.1492, allocations: 11.94 kB / 0.5182 GB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.1493, allocations: 24.02 kB / 0.5182 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.1495, allocations: 31.94 kB / 0.5182 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.1495, allocations: 8 kB / 0.5182 GB, free: 3.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1496, allocations: 111.2 kB / 0.5184 GB, free: 3.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1496, allocations: 0 / 0.5184 GB, free: 3.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003772/0.15, allocations: 51.92 kB / 0.5184 GB, free: 3.59 MB / 378.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.0001523/0.1501, allocations: 113.5 kB / 0.5185 GB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008468/0.151, allocations: 346.4 kB / 0.5188 GB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.151, allocations: 7.984 kB / 0.5188 GB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.1514, allocations: 238.8 kB / 0.5191 GB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.1517, allocations: 16 kB / 0.5191 GB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/0.1527, allocations: 430.7 kB / 0.5195 GB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.1528, allocations: 120.9 kB / 0.5196 GB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000104/0.1529, allocations: 21.62 kB / 0.5196 GB, free: 2.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/0.153, allocations: 23.44 kB / 0.5197 GB, free: 2.215 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.153, allocations: 4 kB / 0.5197 GB, free: 2.211 MB / 378.7 MB Notification: Performance of Templates: time 0.006968/0.16, allocations: 2.478 MB / 0.5221 GB, free: 15.75 MB / 394.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.785769811365753]