Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001538/0.001538, allocations: 118.6 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.001982/0.001982, 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.602/1.602, 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.3021/0.3021, 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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24",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.002485/0.002485, allocations: 84.05 kB / 0.4912 GB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1652, allocations: 65.99 MB / 0.5557 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003528/0.1688, allocations: 1.691 MB / 0.5573 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.17, allocations: 0.5878 MB / 0.5579 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.17, allocations: 4 kB / 0.5579 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.1703, allocations: 43.77 kB / 0.558 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.1706, allocations: 95.58 kB / 0.5581 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.1711, allocations: 179.2 kB / 0.5582 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.1713, allocations: 87.8 kB / 0.5583 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1714, allocations: 20.16 kB / 0.5583 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.817e-05/0.1715, allocations: 27.92 kB / 0.5584 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1716, allocations: 51.75 kB / 0.5584 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1716, allocations: 7.938 kB / 0.5584 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1717, allocations: 47.98 kB / 0.5585 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.1718, allocations: 31.91 kB / 0.5585 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.1718, allocations: 31.75 kB / 0.5585 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1721, allocations: 119.5 kB / 0.5586 GB, free: 3.395 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1721, allocations: 0 / 0.5586 GB, free: 3.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1721, allocations: 0 / 0.5586 GB, free: 3.395 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1721, allocations: 0 / 0.5586 GB, free: 3.395 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.0006165/0.1727, allocations: 426.7 kB / 0.559 GB, free: 2.926 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.1728, allocations: 8.031 kB / 0.559 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.1728, allocations: 34.75 kB / 0.5591 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.1728, allocations: 16.83 kB / 0.5591 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.1731, allocations: 212.1 kB / 0.5593 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1731, allocations: 384 / 0.5593 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.1731, allocations: 4.375 kB / 0.5593 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1733, allocations: 66.23 kB / 0.5594 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1733, allocations: 7.922 kB / 0.5594 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1734, allocations: 0 / 0.5594 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1734, allocations: 0 / 0.5594 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1735, allocations: 43.97 kB / 0.5594 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.174, allocations: 332.6 kB / 0.5597 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.1743, allocations: 54.55 kB / 0.5598 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.237e-05/0.1744, allocations: 29 kB / 0.5598 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1744, allocations: 4 kB / 0.5598 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1744, allocations: 38.56 kB / 0.5599 GB, free: 1.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1744, allocations: 0 / 0.5599 GB, free: 1.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00149/0.1759, allocations: 421.4 kB / 0.5603 GB, free: 1.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.176, allocations: 51.41 kB / 0.5603 GB, free: 1.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.1762, allocations: 198 kB / 0.5605 GB, free: 1.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1762, allocations: 29.7 kB / 0.5605 GB, free: 1.246 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.1763, allocations: 100.1 kB / 0.5606 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.1763, allocations: 43.62 kB / 0.5607 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.1764, allocations: 29.7 kB / 0.5607 GB, free: 1.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1766, allocations: 322.8 kB / 0.561 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1767, allocations: 47.97 kB / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1769, allocations: 60.14 kB / 0.5611 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.1771, allocations: 140.9 kB / 0.5612 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1771, allocations: 0 / 0.5612 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003404/0.1775, allocations: 165.5 kB / 0.5614 GB, free: 336 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1775, allocations: 8 kB / 0.5614 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1775, allocations: 0 / 0.5614 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1775, allocations: 4 kB / 0.5614 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1776, allocations: 27.97 kB / 0.5614 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1776, allocations: 7.875 kB / 0.5614 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.1777, allocations: 8 kB / 0.5614 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1777, allocations: 3.984 kB / 0.5614 GB, free: 276 kB / 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 (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.0001217/0.1778, allocations: 129.8 kB / 0.5616 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.1779, allocations: 15.89 kB / 0.5616 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.1783, allocations: 194.2 kB / 0.5618 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1783, allocations: 0 / 0.5618 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.1784, allocations: 7.938 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1784, allocations: 0 / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007536/0.1791, allocations: 0.4961 MB / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1791, allocations: 3.938 kB / 0.5623 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.1792, allocations: 27.92 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1792, allocations: 4 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1792, allocations: 0 / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1792, allocations: 3.984 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1792, allocations: 8.062 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.1796, allocations: 265.2 kB / 0.5626 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.1797, allocations: 100.9 kB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1797, allocations: 4 kB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.1798, allocations: 15.92 kB / 0.5627 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.1799, allocations: 11.98 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.1799, allocations: 4 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.18, allocations: 139.2 kB / 0.5628 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.18, allocations: 0 / 0.5628 GB, free: 14.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1803, allocations: 24 kB / 0.5628 GB, free: 14.71 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.002367/0.1827, allocations: 1.169 MB / 0.564 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.183, allocations: 119.8 kB / 0.5641 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1831, allocations: 4 kB / 0.5641 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1832, allocations: 75.83 kB / 0.5642 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.1836, allocations: 15.98 kB / 0.5642 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.1862, allocations: 1.899 MB / 0.566 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.1866, allocations: 0.708 MB / 0.5667 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.1867, allocations: 32.53 kB / 0.5668 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.1868, allocations: 39.42 kB / 0.5668 GB, free: 10.69 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1868, allocations: 0 / 0.5668 GB, free: 10.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.2136, allocations: 3.489 MB / 0.5702 GB, free: 7.262 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.126, allocations: 7.875 kB / 0.5702 GB, free: 7.254 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.450989314820617] 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.251136949751526 8.276607146 8.099362866 Calling exit ...