Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.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.001311/0.001311, allocations: 109 kB / 20.48 MB, free: 1.492 MB / 14.72 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.001776/0.001776, allocations: 214.1 kB / 23.79 MB, free: 4.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 207.6 MB / 234.6 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.273/0.273, allocations: 44.24 MB / 331.1 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00351/0.00351, allocations: 63.91 kB / 468.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.157, allocations: 61.04 MB / 0.5169 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003678/0.1607, allocations: 1.912 MB / 0.5188 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1625, allocations: 0.983 MB / 0.5197 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1627, allocations: 7.938 kB / 0.5197 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008781/0.1635, allocations: 187.5 kB / 0.5199 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.1639, allocations: 127.5 kB / 0.52 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.1644, allocations: 179.6 kB / 0.5202 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.1648, allocations: 275.3 kB / 0.5205 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.165, allocations: 26 kB / 0.5205 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.1651, allocations: 111.7 kB / 0.5206 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.1653, allocations: 123.5 kB / 0.5207 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.1654, allocations: 16 kB / 0.5207 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.1656, allocations: 71.94 kB / 0.5208 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.689e-05/0.1656, allocations: 59.83 kB / 0.5209 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.1658, allocations: 107.5 kB / 0.521 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.1662, allocations: 282.8 kB / 0.5212 GB, free: 2.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1662, allocations: 0 / 0.5212 GB, free: 2.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1662, allocations: 4 kB / 0.5212 GB, free: 2.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.1662, allocations: 0 / 0.5212 GB, free: 2.895 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001252/0.1675, allocations: 0.5894 MB / 0.5218 GB, free: 2.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.1676, allocations: 12.03 kB / 0.5218 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.244e-05/0.1676, allocations: 192 / 0.5218 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.444e-05/0.1677, allocations: 50.73 kB / 0.5219 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.548e-05/0.1678, allocations: 28.8 kB / 0.5219 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.1683, allocations: 217.1 kB / 0.5221 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.1685, allocations: 170.3 kB / 0.5223 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.1685, allocations: 16 kB / 0.5223 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.1689, allocations: 160.9 kB / 0.5224 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1689, allocations: 0 / 0.5224 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.169, allocations: 4 kB / 0.5224 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.169, allocations: 8 kB / 0.5224 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.1692, allocations: 95.84 kB / 0.5225 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.1703, allocations: 0.5742 MB / 0.5231 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.1707, allocations: 155.9 kB / 0.5232 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.1709, allocations: 74.55 kB / 0.5233 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.171, allocations: 0 / 0.5233 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006172/0.1716, allocations: 441.1 kB / 0.5237 GB, free: 20 kB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.1716, allocations: 3.938 kB / 0.5237 GB, free: 16 kB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001116/0.1727, allocations: 443.1 kB / 0.5242 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002237/0.1729, allocations: 213.6 kB / 0.5244 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.1734, allocations: 325 kB / 0.5247 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.1734, allocations: 29.7 kB / 0.5247 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1736, allocations: 140.6 kB / 0.5248 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.1736, allocations: 51.62 kB / 0.5249 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1737, allocations: 49.7 kB / 0.5249 GB, free: 14.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.1739, allocations: 338.8 kB / 0.5253 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.1741, allocations: 59.97 kB / 0.5253 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.1743, allocations: 142.2 kB / 0.5255 GB, free: 14.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/0.1748, allocations: 366.6 kB / 0.5258 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.1748, allocations: 0 / 0.5258 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005785/0.1754, allocations: 350.3 kB / 0.5261 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.1755, allocations: 93.09 kB / 0.5262 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.1755, allocations: 7.938 kB / 0.5262 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.1755, allocations: 4.188 kB / 0.5262 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.1757, allocations: 28.14 kB / 0.5263 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1757, allocations: 4 kB / 0.5263 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1758, allocations: 27.88 kB / 0.5263 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.1758, allocations: 12 kB / 0.5263 GB, free: 13.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003072/0.1761, allocations: 261.5 kB / 0.5266 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.1762, allocations: 39.78 kB / 0.5266 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.1766, allocations: 201 kB / 0.5268 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1766, allocations: 4 kB / 0.5268 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1767, allocations: 4 kB / 0.5268 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1767, allocations: 0 / 0.5268 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.177, allocations: 264.4 kB / 0.527 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.177, allocations: 8 kB / 0.5271 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.1771, allocations: 7.984 kB / 0.5271 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1771, allocations: 0 / 0.5271 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.1771, allocations: 15.94 kB / 0.5271 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1771, allocations: 240 / 0.5271 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1771, allocations: 7.938 kB / 0.5271 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000763/0.1779, allocations: 447.6 kB / 0.5275 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.1779, allocations: 19.86 kB / 0.5275 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.178, allocations: 16 kB / 0.5275 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1781, allocations: 15.98 kB / 0.5276 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.1782, allocations: 23.97 kB / 0.5276 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.1782, allocations: 12 kB / 0.5276 GB, free: 11.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003006/0.1785, allocations: 232.4 kB / 0.5278 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1785, allocations: 0 / 0.5278 GB, free: 11.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003534/0.1789, allocations: 71.89 kB / 0.5279 GB, free: 11.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002588/0.1815, allocations: 1.314 MB / 0.5292 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006422/0.1821, allocations: 350 kB / 0.5295 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1821, allocations: 448 / 0.5295 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.1825, allocations: 278.1 kB / 0.5298 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.1829, allocations: 48.41 kB / 0.5298 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.1869, allocations: 2.844 MB / 0.5326 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.1873, allocations: 0.7479 MB / 0.5333 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.1874, allocations: 29.61 kB / 0.5334 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1876, allocations: 71.41 kB / 0.5334 GB, free: 5.457 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1876, allocations: 0 / 0.5334 GB, free: 5.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2569/0.4444, allocations: 6.466 MB / 0.5397 GB, free: 28.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.26, allocations: 8 kB / 0.5397 GB, free: 28.17 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay_fmu --startTime=0 --stopTime=11 --stepSize=0.00219124 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.603664682013914] Failed to read output from testmodel.py, exit status != 0: ['time', 'booleanTable.y', 'onDelay1.delaySignal', 'onDelay1.t_next', 'onDelay1.u', 'onDelay2.delaySignal', 'onDelay2.t_next', 'onDelay2.u', 'onDelay3.delaySignal', 'onDelay3.t_next', 'onDelay3.u'] 12.483028860006016 12.503777539 12.333006977 Calling exit ...