Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 107.9 kB / 17.63 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 210.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2325/0.2325, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB 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.002291/0.002291, allocations: 76.5 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1547, allocations: 62.46 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.004408/0.1592, allocations: 1.62 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1607, allocations: 0.5611 MB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.1608, allocations: 0 / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008374/0.1617, allocations: 455.1 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006442/0.1623, allocations: 295.3 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.163, allocations: 174.3 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.1633, allocations: 175.6 kB / 483.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1635, allocations: 8 kB / 483.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.1637, allocations: 111.8 kB / 483.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000358/0.164, allocations: 215.6 kB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.1641, allocations: 4 kB / 483.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1642, allocations: 27.98 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1643, allocations: 87.69 kB / 483.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1645, allocations: 107 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.1649, allocations: 251 kB / 484.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.165, allocations: 0 / 484.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.165, allocations: 0 / 484.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.165, allocations: 0 / 484.3 MB, free: 1.09 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001248/0.1663, allocations: 0.6494 MB / 484.9 MB, free: 400 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/0.1663, allocations: 8.031 kB / 484.9 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.87e-05/0.1664, allocations: 30.75 kB / 484.9 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.869e-05/0.1665, allocations: 44.38 kB / 485 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.167, allocations: 304.1 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.167, allocations: 384 / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.1671, allocations: 4.375 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1673, allocations: 57.61 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1673, allocations: 0 / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1673, allocations: 4 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1674, allocations: 4 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.1676, allocations: 43.84 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007767/0.1683, allocations: 392.7 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1685, allocations: 50.55 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.1687, allocations: 20.94 kB / 485.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.1687, allocations: 4 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.1688, allocations: 38.5 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.1688, allocations: 0 / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005373/0.1693, allocations: 129.2 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.1694, allocations: 55.41 kB / 486.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.1708, allocations: 0.8738 MB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1708, allocations: 25.7 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.1711, allocations: 227.9 kB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.1712, allocations: 3.906 kB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.1712, allocations: 17.72 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.1715, allocations: 366.7 kB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/0.1716, allocations: 23.98 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.343e-05/0.1717, allocations: 19.98 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.1719, allocations: 48.75 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1719, allocations: 0 / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000308/0.1722, allocations: 109.1 kB / 487.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1723, allocations: 4 kB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1723, allocations: 4 kB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.1723, allocations: 4 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1725, allocations: 7.984 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1725, allocations: 4 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.419e-05/0.1726, allocations: 7.984 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1726, allocations: 0 / 487.8 MB, free: 13.3 MB / 366.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 (3): * Single equations (assignments): 3 * 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.0003044/0.1729, allocations: 213.7 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.539e-05/0.173, allocations: 43.44 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.1735, allocations: 133 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1735, allocations: 0 / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.1735, allocations: 3.984 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1735, allocations: 0 / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.174, allocations: 293.5 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.174, allocations: 0 / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.1741, allocations: 11.98 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1741, allocations: 0 / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1741, allocations: 0 / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1741, allocations: 4 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1742, allocations: 0 / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.1745, allocations: 214.8 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.1747, allocations: 116.6 kB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.1747, allocations: 3.938 kB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1749, allocations: 4 kB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.1749, allocations: 0 / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1749, allocations: 7.984 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009779/0.1759, allocations: 0.655 MB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1759, allocations: 0 / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004556/0.1764, allocations: 31.98 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.002224/0.1786, allocations: 0.9807 MB / 490.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.1789, allocations: 51.89 kB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1789, allocations: 4 kB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/0.179, allocations: 19.98 kB / 490.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.1796, allocations: 32.09 kB / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.185, allocations: 3.249 MB / 493.8 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006468/0.1857, allocations: 0.826 MB / 494.7 MB, free: 6.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.678e-05/0.1858, allocations: 11.98 kB / 494.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.186, allocations: 107.4 kB / 494.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of SimCode: time 1.472e-06/0.186, allocations: 0 / 494.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.2229, allocations: 5.696 MB / 0.4888 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.184, allocations: 3.109 kB / 0.4888 GB, free: 0.5547 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1)