Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2595/0.2595, allocations: 46.87 MB / 357.4 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 75.86 kB / 0.4913 GB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1438, allocations: 65.98 MB / 0.5557 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003457/0.1473, allocations: 1.739 MB / 0.5574 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1493, allocations: 1.039 MB / 0.5585 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1494, allocations: 4 kB / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.1498, allocations: 79.7 kB / 0.5585 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.1502, allocations: 115.6 kB / 0.5586 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1505, allocations: 79.66 kB / 0.5587 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.1507, allocations: 115.7 kB / 0.5588 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1509, allocations: 15.94 kB / 0.5588 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.151, allocations: 59.69 kB / 0.5589 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1512, allocations: 63.81 kB / 0.559 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1512, allocations: 4 kB / 0.559 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.1513, allocations: 43.98 kB / 0.559 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.1514, allocations: 23.92 kB / 0.559 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.1515, allocations: 43.66 kB / 0.5591 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.1518, allocations: 123.4 kB / 0.5592 GB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1518, allocations: 0 / 0.5592 GB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1518, allocations: 3.938 kB / 0.5592 GB, free: 2.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.1518, allocations: 0 / 0.5592 GB, free: 2.789 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008295/0.1526, allocations: 426.6 kB / 0.5596 GB, free: 2.324 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.1527, allocations: 16.03 kB / 0.5596 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.1527, allocations: 34.73 kB / 0.5596 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.1528, allocations: 12.84 kB / 0.5597 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.1532, allocations: 224.1 kB / 0.5599 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1532, allocations: 384 / 0.5599 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1533, allocations: 4.375 kB / 0.5599 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.1535, allocations: 61.73 kB / 0.5599 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1535, allocations: 0 / 0.5599 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1535, allocations: 0 / 0.5599 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1535, allocations: 4 kB / 0.5599 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/0.1536, allocations: 19.98 kB / 0.56 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.154, allocations: 288.9 kB / 0.5602 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1542, allocations: 54.61 kB / 0.5603 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.1542, allocations: 20.84 kB / 0.5603 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1543, allocations: 4 kB / 0.5603 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.1544, allocations: 67.39 kB / 0.5604 GB, free: 1.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1544, allocations: 0 / 0.5604 GB, free: 1.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005931/0.155, allocations: 185.3 kB / 0.5606 GB, free: 1.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.1551, allocations: 59.34 kB / 0.5606 GB, free: 1.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1553, allocations: 219.4 kB / 0.5608 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1553, allocations: 29.7 kB / 0.5608 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.1554, allocations: 108.1 kB / 0.5609 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.1555, allocations: 31.77 kB / 0.561 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.1555, allocations: 17.72 kB / 0.561 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1557, allocations: 330.8 kB / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.058e-05/0.1557, allocations: 23.98 kB / 0.5613 GB, free: 368 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.1558, allocations: 45.58 kB / 0.5614 GB, free: 316 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1559, allocations: 58.08 kB / 0.5614 GB, free: 252 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1559, allocations: 0 / 0.5614 GB, free: 252 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001923/0.1561, allocations: 105.5 kB / 0.5615 GB, free: 140 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1561, allocations: 4 kB / 0.5615 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1561, allocations: 4 kB / 0.5615 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1561, allocations: 0 / 0.5615 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-05/0.1562, allocations: 19.98 kB / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1563, allocations: 0 / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.1563, allocations: 8.031 kB / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1563, allocations: 0 / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001389/0.1564, allocations: 137.7 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.1565, allocations: 15.91 kB / 0.5617 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.1565, allocations: 17.39 kB / 0.5617 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1565, allocations: 0 / 0.5617 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1565, allocations: 4 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1565, allocations: 0 / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.157, allocations: 407.2 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.157, allocations: 0 / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.1571, allocations: 8 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1571, allocations: 0 / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1571, allocations: 7.984 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.1571, allocations: 3.938 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1571, allocations: 0 / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.1573, allocations: 208.3 kB / 0.5623 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.1574, allocations: 92.98 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1574, allocations: 4 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.1575, allocations: 3.938 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1576, allocations: 7.984 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1576, allocations: 8 kB / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1577, allocations: 165.2 kB / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1577, allocations: 0 / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.158, allocations: 27.92 kB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.00215/0.1601, allocations: 1.093 MB / 0.5637 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1603, allocations: 55.91 kB / 0.5638 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1603, allocations: 4 kB / 0.5638 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.76e-05/0.1604, allocations: 19.94 kB / 0.5638 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.1608, allocations: 42.16 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1627, allocations: 1.722 MB / 0.5655 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1631, allocations: 0.7118 MB / 0.5662 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.1631, allocations: 21.17 kB / 0.5662 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.1632, allocations: 39.42 kB / 0.5663 GB, free: 11.22 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1632, allocations: 0 / 0.5663 GB, free: 11.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.1874, allocations: 3.589 MB / 0.5698 GB, free: 7.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.085, allocations: 7.578 kB / 0.5698 GB, free: 7.699 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.34966679988429] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.208401714917272 8.226489525 8.071666304 Calling exit ...