Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2319/0.2319, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002516/0.002516, allocations: 85.61 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1573, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003499/0.1608, allocations: 1.616 MB / 481.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1619, allocations: 0.5455 MB / 482.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.162, allocations: 4 kB / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.1624, allocations: 123.7 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.1628, allocations: 127.5 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.1631, allocations: 114.8 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.1633, allocations: 91.84 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1634, allocations: 20 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.1635, allocations: 51.75 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1637, allocations: 83.78 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1637, allocations: 4 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1639, allocations: 47.98 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.1639, allocations: 27.86 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.164, allocations: 43.67 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1642, allocations: 119.9 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1643, allocations: 0 / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1643, allocations: 0 / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1643, allocations: 0 / 483.2 MB, free: 2.098 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005628/0.1648, allocations: 430.7 kB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1649, allocations: 12.03 kB / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.1649, allocations: 38.73 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.165, allocations: 20.75 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1652, allocations: 207.9 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1653, allocations: 4.375 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1653, allocations: 384 / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1654, allocations: 57.62 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1655, allocations: 3.984 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1655, allocations: 0 / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1655, allocations: 0 / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1656, allocations: 35.86 kB / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.1661, allocations: 316.7 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1662, allocations: 42.55 kB / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.1663, allocations: 16.86 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1663, allocations: 8.031 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1663, allocations: 38.55 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1663, allocations: 0 / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009355/0.1673, allocations: 249.3 kB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.1673, allocations: 55.41 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.1676, allocations: 279.7 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1676, allocations: 25.7 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.1678, allocations: 120.1 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.1678, allocations: 31.61 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.1679, allocations: 21.72 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.168, allocations: 326.8 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.1681, allocations: 31.97 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.814e-05/0.1682, allocations: 31.98 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.1684, allocations: 80.97 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1684, allocations: 0 / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002355/0.1687, allocations: 109.5 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1687, allocations: 8 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1687, allocations: 3.984 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1687, allocations: 4 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.1688, allocations: 15.98 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1688, allocations: 3.938 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.1689, allocations: 19.83 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.1689, allocations: 4 kB / 485.8 MB, free: 15.27 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 (8): * Single equations (assignments): 8 * 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.0001186/0.169, allocations: 137.8 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.1691, allocations: 11.91 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.1694, allocations: 134.9 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1694, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.1694, allocations: 7.875 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1695, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.1701, allocations: 431.3 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1701, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.216e-05/0.1702, allocations: 19.97 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.1702, allocations: 7.984 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1702, allocations: 7.938 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1702, allocations: 4 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1702, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.1705, allocations: 216.2 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.1706, allocations: 92.86 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.1706, allocations: 3.984 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.1707, allocations: 4 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1707, allocations: 4 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1707, allocations: 11.98 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.1709, allocations: 201.5 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1709, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1712, allocations: 24 kB / 487.1 MB, free: 13.86 MB / 366.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 (8): * Single equations (assignments): 8 * 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.002212/0.1734, allocations: 1.105 MB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.1737, allocations: 79.88 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1737, allocations: 0 / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1738, allocations: 43.91 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.1743, allocations: 29.98 kB / 488.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.1766, allocations: 1.84 MB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.177, allocations: 0.7158 MB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.163e-05/0.1771, allocations: 24.95 kB / 490.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.1772, allocations: 47.41 kB / 491 MB, free: 10 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1772, allocations: 0 / 491 MB, free: 10 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.203, allocations: 3.36 MB / 494.3 MB, free: 6.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.154, allocations: 9.016 kB / 494.4 MB, free: 6.707 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1)