Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.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.001372/0.001372, 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.00146/0.00146, 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.489/1.489, allocations: 230.2 MB / 254.5 MB, free: 15.28 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.2407/0.2407, allocations: 46.89 MB / 357.4 MB, free: 10.55 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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15",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.003389/0.003389, allocations: 83.86 kB / 0.4913 GB, free: 8.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.168, allocations: 65.98 MB / 0.5557 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003368/0.1714, allocations: 1.741 MB / 0.5574 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.1733, allocations: 1.042 MB / 0.5585 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.1734, allocations: 0 / 0.5585 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.1738, allocations: 43.77 kB / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.1741, allocations: 91.59 kB / 0.5586 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1743, allocations: 71.69 kB / 0.5587 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1745, allocations: 107.7 kB / 0.5588 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1746, allocations: 12 kB / 0.5588 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1747, allocations: 43.78 kB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.1748, allocations: 35.78 kB / 0.5588 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1748, allocations: 4 kB / 0.5588 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.692e-05/0.1749, allocations: 47.98 kB / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.1749, allocations: 15.92 kB / 0.5589 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.175, allocations: 43.72 kB / 0.5589 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1752, allocations: 111.5 kB / 0.5591 GB, free: 2.973 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1752, allocations: 0 / 0.5591 GB, free: 2.973 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1752, allocations: 0 / 0.5591 GB, free: 2.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1752, allocations: 0 / 0.5591 GB, free: 2.973 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.0006312/0.1758, allocations: 430.5 kB / 0.5595 GB, free: 2.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1759, allocations: 8.031 kB / 0.5595 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.1759, allocations: 38.75 kB / 0.5595 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.176, allocations: 12.84 kB / 0.5595 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.1763, allocations: 208.2 kB / 0.5597 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1763, allocations: 384 / 0.5597 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1763, allocations: 4.375 kB / 0.5597 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1765, allocations: 57.8 kB / 0.5598 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1765, allocations: 3.938 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1765, allocations: 0 / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1765, allocations: 0 / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.1766, allocations: 23.98 kB / 0.5598 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.177, allocations: 280.9 kB / 0.5601 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1771, allocations: 62.61 kB / 0.5601 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.1772, allocations: 24.84 kB / 0.5602 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1772, allocations: 0 / 0.5602 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.1775, allocations: 71.38 kB / 0.5602 GB, free: 1.598 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1775, allocations: 0 / 0.5602 GB, free: 1.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005448/0.178, allocations: 173.4 kB / 0.5604 GB, free: 1.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.1781, allocations: 55.39 kB / 0.5604 GB, free: 1.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1783, allocations: 177.5 kB / 0.5606 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.1783, allocations: 29.7 kB / 0.5606 GB, free: 1.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.1784, allocations: 108.1 kB / 0.5607 GB, free: 1.027 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1784, allocations: 27.78 kB / 0.5608 GB, free: 1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.1785, allocations: 21.72 kB / 0.5608 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1786, allocations: 322.8 kB / 0.5611 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.1787, allocations: 23.98 kB / 0.5611 GB, free: 0.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/0.1788, allocations: 41.64 kB / 0.5612 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1789, allocations: 53.72 kB / 0.5612 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1789, allocations: 0 / 0.5612 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002028/0.1791, allocations: 109.5 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1791, allocations: 8 kB / 0.5613 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1791, allocations: 3.938 kB / 0.5613 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1791, allocations: 0 / 0.5613 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.1792, allocations: 12 kB / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1792, allocations: 7.984 kB / 0.5613 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.1793, allocations: 192 / 0.5613 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1793, allocations: 12.03 kB / 0.5614 GB, free: 372 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.000111/0.1794, allocations: 126.8 kB / 0.5615 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.1794, allocations: 11.89 kB / 0.5615 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.656e-05/0.1795, allocations: 21.39 kB / 0.5615 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1795, allocations: 3.984 kB / 0.5615 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1795, allocations: 0 / 0.5615 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1795, allocations: 0 / 0.5615 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.18, allocations: 407.2 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.18, allocations: 0 / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.18, allocations: 8 kB / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.18, allocations: 0 / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.18, allocations: 384 / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.18, allocations: 7.938 kB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.18, allocations: 0 / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1803, allocations: 204.6 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.1804, allocations: 89 kB / 0.5622 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1804, allocations: 8 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.1805, allocations: 7.875 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1805, allocations: 7.984 kB / 0.5622 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1805, allocations: 4 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1806, allocations: 136.9 kB / 0.5624 GB, free: 15.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1806, allocations: 0 / 0.5624 GB, free: 15.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1809, allocations: 27.92 kB / 0.5624 GB, free: 15.2 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.002191/0.1831, allocations: 1.091 MB / 0.5634 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1833, allocations: 63.83 kB / 0.5635 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1833, allocations: 0 / 0.5635 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.1833, allocations: 27.92 kB / 0.5635 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.1837, allocations: 27.98 kB / 0.5636 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.1856, allocations: 1.64 MB / 0.5652 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.186, allocations: 0.7041 MB / 0.5659 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.1861, allocations: 17.17 kB / 0.5659 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.1861, allocations: 31.42 kB / 0.5659 GB, free: 11.63 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1861, allocations: 4 kB / 0.5659 GB, free: 11.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.2117, allocations: 3.433 MB / 0.5693 GB, free: 8.258 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.33, allocations: 10.25 kB / 0.5693 GB, free: 8.25 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.426065542269498] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.454238473903388 8.480606654 8.300460763 Calling exit ...