Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001848/0.001848, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002256/0.002256, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2333/0.2333, allocations: 46.88 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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",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.00371/0.00371, allocations: 81.08 kB / 0.4912 GB, free: 26.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1548, allocations: 65.98 MB / 0.5557 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.004758/0.1595, allocations: 1.659 MB / 0.5573 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1613, allocations: 0.5489 MB / 0.5578 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/0.1613, allocations: 4 kB / 0.5578 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.1617, allocations: 91.67 kB / 0.5579 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.1622, allocations: 115.6 kB / 0.558 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.1627, allocations: 99.69 kB / 0.5581 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.1629, allocations: 95.8 kB / 0.5582 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1631, allocations: 23.92 kB / 0.5582 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.1632, allocations: 43.78 kB / 0.5583 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.1633, allocations: 63.8 kB / 0.5583 GB, free: 6.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1634, allocations: 4 kB / 0.5584 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.1635, allocations: 51.97 kB / 0.5584 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.949e-05/0.1636, allocations: 31.86 kB / 0.5584 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.1637, allocations: 39.67 kB / 0.5585 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.164, allocations: 123.4 kB / 0.5586 GB, free: 6.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.164, allocations: 0 / 0.5586 GB, free: 6.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.446e-06/0.164, allocations: 7.984 kB / 0.5586 GB, free: 6.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.164, allocations: 0 / 0.5586 GB, free: 6.102 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007479/0.1647, allocations: 442.5 kB / 0.559 GB, free: 5.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.1648, allocations: 12.03 kB / 0.559 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.537e-05/0.1649, allocations: 34.75 kB / 0.5591 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.1649, allocations: 16.84 kB / 0.5591 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.1652, allocations: 200.2 kB / 0.5593 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.1652, allocations: 8.375 kB / 0.5593 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.1653, allocations: 12.31 kB / 0.5593 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.1655, allocations: 70.22 kB / 0.5594 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.1656, allocations: 15.83 kB / 0.5594 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1656, allocations: 0 / 0.5594 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1656, allocations: 0 / 0.5594 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.1658, allocations: 39.97 kB / 0.5594 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.1664, allocations: 348.6 kB / 0.5597 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.1666, allocations: 50.56 kB / 0.5598 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1667, allocations: 28.84 kB / 0.5598 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1668, allocations: 0 / 0.5598 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.1668, allocations: 30.67 kB / 0.5598 GB, free: 4.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.1668, allocations: 3.938 kB / 0.5599 GB, free: 4.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001716/0.1685, allocations: 317.4 kB / 0.5602 GB, free: 4.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.1686, allocations: 59.34 kB / 0.5602 GB, free: 4.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/0.169, allocations: 235.5 kB / 0.5604 GB, free: 4.012 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.169, allocations: 29.7 kB / 0.5605 GB, free: 3.977 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.1691, allocations: 116.1 kB / 0.5606 GB, free: 3.859 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/0.1692, allocations: 43.58 kB / 0.5606 GB, free: 3.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/0.1693, allocations: 33.7 kB / 0.5606 GB, free: 3.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.1695, allocations: 326.8 kB / 0.561 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.1696, allocations: 31.98 kB / 0.561 GB, free: 3.418 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1698, allocations: 35.97 kB / 0.561 GB, free: 3.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.1702, allocations: 92.83 kB / 0.5611 GB, free: 3.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1702, allocations: 0 / 0.5611 GB, free: 3.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004946/0.1707, allocations: 141.5 kB / 0.5612 GB, free: 3.145 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1707, allocations: 4 kB / 0.5613 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1707, allocations: 0 / 0.5613 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1707, allocations: 0 / 0.5613 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.1709, allocations: 27.98 kB / 0.5613 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.1709, allocations: 3.938 kB / 0.5613 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.004e-05/0.171, allocations: 15.98 kB / 0.5613 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.171, allocations: 4 kB / 0.5613 GB, free: 3.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001868/0.1712, allocations: 133.8 kB / 0.5614 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.1713, allocations: 15.91 kB / 0.5614 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005845/0.1719, allocations: 155.2 kB / 0.5616 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1719, allocations: 4 kB / 0.5616 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.1719, allocations: 3.938 kB / 0.5616 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1719, allocations: 4 kB / 0.5616 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.173, allocations: 483.1 kB / 0.5621 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.173, allocations: 0 / 0.5621 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.1732, allocations: 27.92 kB / 0.5621 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.1732, allocations: 4 kB / 0.5621 GB, free: 2.199 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1732, allocations: 4 kB / 0.5621 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1732, allocations: 4.031 kB / 0.5621 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.1732, allocations: 7.938 kB / 0.5621 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.1737, allocations: 247.6 kB / 0.5623 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.391e-05/0.1738, allocations: 89.02 kB / 0.5624 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.1739, allocations: 4 kB / 0.5624 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.174, allocations: 11.98 kB / 0.5624 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.1741, allocations: 8 kB / 0.5625 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.1741, allocations: 7.984 kB / 0.5625 GB, free: 1.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002708/0.1744, allocations: 177.2 kB / 0.5626 GB, free: 1.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1744, allocations: 0 / 0.5626 GB, free: 1.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005372/0.1749, allocations: 31.92 kB / 0.5627 GB, free: 1.586 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.003474/0.1784, allocations: 1.127 MB / 0.5638 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.1788, allocations: 91.94 kB / 0.5638 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1788, allocations: 0 / 0.5638 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.179, allocations: 51.86 kB / 0.5639 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.1796, allocations: 23.73 kB / 0.5639 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.1834, allocations: 1.846 MB / 0.5657 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.1839, allocations: 0.7197 MB / 0.5664 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.184, allocations: 16.55 kB / 0.5664 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.1842, allocations: 47.41 kB / 0.5665 GB, free: 13.7 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1842, allocations: 0 / 0.5665 GB, free: 13.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.2166, allocations: 3.556 MB / 0.57 GB, free: 10.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/8.591, allocations: 10.05 kB / 0.57 GB, free: 10.2 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.572473880369216] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.716926421038806 8.731966342 8.564751097 Calling exit ...