Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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.00165/0.00165, allocations: 116.5 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.001923/0.001923, allocations: 216.9 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.553/1.553, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2462/0.2462, allocations: 46.87 MB / 357.4 MB, free: 10.5 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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",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.002302/0.002302, allocations: 87.86 kB / 0.4913 GB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1646, allocations: 65.98 MB / 0.5557 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003705/0.1683, allocations: 1.687 MB / 0.5573 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1694, allocations: 0.5956 MB / 0.5579 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.1695, allocations: 0 / 0.5579 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.1702, allocations: 451.1 kB / 0.5584 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.1707, allocations: 295.3 kB / 0.5586 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.1712, allocations: 183.2 kB / 0.5588 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.1714, allocations: 175.7 kB / 0.559 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1716, allocations: 32.14 kB / 0.559 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1717, allocations: 107.8 kB / 0.5591 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.172, allocations: 263.4 kB / 0.5594 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.172, allocations: 4 kB / 0.5594 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1722, allocations: 47.98 kB / 0.5594 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1723, allocations: 87.67 kB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1724, allocations: 114.9 kB / 0.5596 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.1728, allocations: 286.5 kB / 0.5599 GB, free: 1.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1728, allocations: 3.938 kB / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1728, allocations: 0 / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1728, allocations: 0 / 0.5599 GB, free: 1.906 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009293/0.1737, allocations: 0.6762 MB / 0.5605 GB, free: 1.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1738, allocations: 12.02 kB / 0.5606 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.1738, allocations: 34.75 kB / 0.5606 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.1739, allocations: 44.66 kB / 0.5606 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.1743, allocations: 308.6 kB / 0.5609 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1743, allocations: 8.312 kB / 0.5609 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.1743, allocations: 8.328 kB / 0.5609 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.1745, allocations: 70.16 kB / 0.561 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.1745, allocations: 7.938 kB / 0.561 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1745, allocations: 0 / 0.561 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1745, allocations: 0 / 0.561 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.1747, allocations: 43.95 kB / 0.5611 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.1753, allocations: 424.6 kB / 0.5615 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.1756, allocations: 54.55 kB / 0.5615 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.881e-05/0.1757, allocations: 24.97 kB / 0.5615 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1757, allocations: 0 / 0.5615 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.1757, allocations: 42.5 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1757, allocations: 0 / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001563/0.1773, allocations: 0.5007 MB / 0.5621 GB, free: 15.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1773, allocations: 51.41 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009955/0.1783, allocations: 0.8815 MB / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1784, allocations: 29.7 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.1786, allocations: 220 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.1786, allocations: 31.7 kB / 0.5632 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.1787, allocations: 29.7 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.1789, allocations: 366.8 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.179, allocations: 47.97 kB / 0.5637 GB, free: 13.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1792, allocations: 55.95 kB / 0.5637 GB, free: 13.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.1794, allocations: 133 kB / 0.5638 GB, free: 13.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1794, allocations: 0 / 0.5638 GB, free: 13.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003878/0.1798, allocations: 209.2 kB / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1798, allocations: 4 kB / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1798, allocations: 0 / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1799, allocations: 0 / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.18, allocations: 23.98 kB / 0.5641 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.18, allocations: 3.938 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.1801, allocations: 15.98 kB / 0.5641 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1801, allocations: 4 kB / 0.5641 GB, free: 13.34 MB / 430.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 (11): * Single equations (assignments): 11 * 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.0002341/0.1803, allocations: 221.7 kB / 0.5643 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.1804, allocations: 47.67 kB / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.1809, allocations: 229.4 kB / 0.5646 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1809, allocations: 11.92 kB / 0.5646 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1809, allocations: 3.938 kB / 0.5646 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1809, allocations: 0 / 0.5646 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000926/0.1818, allocations: 0.6015 MB / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1818, allocations: 3.938 kB / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1819, allocations: 27.97 kB / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1819, allocations: 0 / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1819, allocations: 4 kB / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1819, allocations: 3.938 kB / 0.5652 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1819, allocations: 4.062 kB / 0.5652 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.1824, allocations: 308.8 kB / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1825, allocations: 124.8 kB / 0.5656 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.1825, allocations: 4 kB / 0.5656 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1826, allocations: 16.17 kB / 0.5656 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.1827, allocations: 4 kB / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1827, allocations: 11.94 kB / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006723/0.1834, allocations: 0.6589 MB / 0.5663 GB, free: 10.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1834, allocations: 0 / 0.5663 GB, free: 10.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1836, allocations: 35.92 kB / 0.5663 GB, free: 10.92 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.002358/0.186, allocations: 1.199 MB / 0.5675 GB, free: 9.867 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003534/0.1864, allocations: 115.9 kB / 0.5676 GB, free: 9.754 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1864, allocations: 7.938 kB / 0.5676 GB, free: 9.746 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.1865, allocations: 71.89 kB / 0.5677 GB, free: 9.676 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.1869, allocations: 30.28 kB / 0.5677 GB, free: 9.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/0.1915, allocations: 3.557 MB / 0.5712 GB, free: 5.988 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.1921, allocations: 0.8299 MB / 0.572 GB, free: 5.133 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.1922, allocations: 32.72 kB / 0.572 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.1924, allocations: 127.4 kB / 0.5722 GB, free: 4.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1924, allocations: 3.938 kB / 0.5722 GB, free: 4.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.2246, allocations: 6.724 MB / 0.5787 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/8.709, allocations: 18.27 kB / 0.5788 GB, free: 14.29 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.84067760920152] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.834322512615472 8.850698369 8.674744278 Calling exit ...