Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001374/0.001374, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.00135/0.00135, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.556/1.556, allocations: 230.2 MB / 254.5 MB, free: 15.05 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.2538/0.2538, allocations: 46.89 MB / 357.4 MB, free: 10.49 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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",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.002238/0.002238, allocations: 71.88 kB / 0.4912 GB, free: 8.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1617, allocations: 65.99 MB / 0.5557 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004318/0.166, allocations: 2.031 MB / 0.5577 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.1685, allocations: 1.367 MB / 0.559 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.1687, allocations: 4 kB / 0.559 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.169, allocations: 55.5 kB / 0.5591 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005989/0.1696, allocations: 211.1 kB / 0.5593 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.1712, allocations: 0.6094 MB / 0.5598 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004853/0.1717, allocations: 315.2 kB / 0.5601 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1719, allocations: 60.69 kB / 0.5602 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.1721, allocations: 139.5 kB / 0.5603 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.1724, allocations: 203.2 kB / 0.5605 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.1724, allocations: 15.94 kB / 0.5605 GB, free: 1.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.1726, allocations: 71.95 kB / 0.5606 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.1728, allocations: 147.4 kB / 0.5608 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.173, allocations: 182.6 kB / 0.5609 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.1735, allocations: 421.8 kB / 0.5613 GB, free: 448 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1735, allocations: 0 / 0.5613 GB, free: 448 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1735, allocations: 4 kB / 0.5613 GB, free: 444 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1735, allocations: 0 / 0.5613 GB, free: 444 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001224/0.1748, allocations: 0.8221 MB / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1748, allocations: 8.031 kB / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.383e-05/0.1749, allocations: 50.67 kB / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.1752, allocations: 76.5 kB / 0.5623 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007905/0.176, allocations: 493.1 kB / 0.5627 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.176, allocations: 8.375 kB / 0.5627 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.176, allocations: 12.38 kB / 0.5628 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.1763, allocations: 155.2 kB / 0.5629 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1764, allocations: 0 / 0.5629 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.1764, allocations: 4 kB / 0.5629 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1764, allocations: 0 / 0.5629 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.1766, allocations: 95.92 kB / 0.563 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.1777, allocations: 0.7074 MB / 0.5637 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.1779, allocations: 109.2 kB / 0.5638 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.178, allocations: 49.81 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.1781, allocations: 4 kB / 0.5638 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.1781, allocations: 38.5 kB / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1781, allocations: 0 / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001546/0.1796, allocations: 0.5738 MB / 0.5644 GB, free: 13.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.1797, allocations: 85.09 kB / 0.5645 GB, free: 12.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.1808, allocations: 0.926 MB / 0.5654 GB, free: 12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.1809, allocations: 29.7 kB / 0.5655 GB, free: 11.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.1811, allocations: 272.3 kB / 0.5657 GB, free: 11.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.506e-05/0.1812, allocations: 59.75 kB / 0.5658 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.1813, allocations: 37.7 kB / 0.5658 GB, free: 11.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1814, allocations: 313.9 kB / 0.5661 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.1816, allocations: 63.95 kB / 0.5662 GB, free: 11.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.1818, allocations: 85.61 kB / 0.5663 GB, free: 11.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.1821, allocations: 161.7 kB / 0.5664 GB, free: 10.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1821, allocations: 3.938 kB / 0.5664 GB, free: 10.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005312/0.1827, allocations: 245.2 kB / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1827, allocations: 4 kB / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1827, allocations: 0 / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/0.1827, allocations: 0 / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.1829, allocations: 47.84 kB / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.183, allocations: 4 kB / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.1831, allocations: 15.98 kB / 0.5667 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.1831, allocations: 4 kB / 0.5667 GB, free: 10.64 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0002355/0.1833, allocations: 213.7 kB / 0.5669 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1835, allocations: 67.58 kB / 0.567 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006495/0.1841, allocations: 294.8 kB / 0.5673 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1841, allocations: 4 kB / 0.5673 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1841, allocations: 0 / 0.5673 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1841, allocations: 0 / 0.5673 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.1855, allocations: 0.8254 MB / 0.5681 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1855, allocations: 384 / 0.5681 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.1856, allocations: 39.97 kB / 0.5681 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1857, allocations: 4 kB / 0.5681 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1857, allocations: 4 kB / 0.5681 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1857, allocations: 0 / 0.5681 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1857, allocations: 3.938 kB / 0.5681 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005756/0.1862, allocations: 431.6 kB / 0.5685 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.1865, allocations: 152.7 kB / 0.5687 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.1865, allocations: 11.94 kB / 0.5687 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.1867, allocations: 11.98 kB / 0.5687 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.1868, allocations: 15.92 kB / 0.5687 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1868, allocations: 8 kB / 0.5687 GB, free: 8.465 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008049/0.1876, allocations: 0.6786 MB / 0.5694 GB, free: 7.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1876, allocations: 0 / 0.5694 GB, free: 7.793 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.188, allocations: 56 kB / 0.5694 GB, free: 7.738 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002354/0.1903, allocations: 1.254 MB / 0.5707 GB, free: 6.605 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004602/0.1908, allocations: 147.8 kB / 0.5708 GB, free: 6.461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1908, allocations: 0 / 0.5708 GB, free: 6.461 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.191, allocations: 91.88 kB / 0.5709 GB, free: 6.371 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.1916, allocations: 92.44 kB / 0.571 GB, free: 6.285 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007054/0.1986, allocations: 5.207 MB / 0.5761 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.1992, allocations: 0.877 MB / 0.5769 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002665/0.1995, allocations: 95.2 kB / 0.577 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.1998, allocations: 175.4 kB / 0.5772 GB, free: 15.81 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1998, allocations: 0 / 0.5772 GB, free: 15.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.2362, allocations: 10.18 MB / 0.5871 GB, free: 5.699 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.696/8.933, allocations: 10.11 kB / 0.5871 GB, free: 5.691 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.43164762109518] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D_1R.y[1]', 'der_1R.y', 'combiTable2D_2R.y[1]', 'der_2R.y', 'sine_R.y', 'const_R.y', 'combiTable2D_1L.y[1]', 'der_1L.y', 'combiTable2D_2L.y[1]', 'der_2L.y', 'sine_L.y', 'const_L.y'] 9.064085630699992 9.357127463 9.180733096 Calling exit ...