Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 104.1 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.002022/0.002022, 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.479/1.479, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2438/0.2438, allocations: 46.12 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.002299/0.002299, allocations: 82.47 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1401, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003504/0.1437, allocations: 1.655 MB / 481.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1447, allocations: 0.5494 MB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.1448, allocations: 0 / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.1451, allocations: 31.78 kB / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.1453, allocations: 91.59 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1456, allocations: 114.4 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.1459, allocations: 83.83 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1461, allocations: 40.23 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.1462, allocations: 35.8 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1463, allocations: 35.84 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1463, allocations: 4 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1465, allocations: 47.98 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.793e-05/0.1465, allocations: 23.92 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1467, allocations: 39.72 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1469, allocations: 111.6 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.147, allocations: 0 / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.147, allocations: 0 / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.147, allocations: 0 / 483.1 MB, free: 2.25 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007136/0.1477, allocations: 407 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.1478, allocations: 12.03 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/0.1478, allocations: 38.75 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.1479, allocations: 8.844 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.1481, allocations: 198.2 kB / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1481, allocations: 12.38 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.1482, allocations: 4.375 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.1484, allocations: 77.53 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1484, allocations: 8 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1484, allocations: 0 / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1484, allocations: 3.938 kB / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1486, allocations: 47.95 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.1492, allocations: 336.6 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.1493, allocations: 70.48 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.1494, allocations: 24.84 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.1495, allocations: 8 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1495, allocations: 30.56 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1495, allocations: 0 / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001181/0.1507, allocations: 329.5 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.1508, allocations: 59.34 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.151, allocations: 169.1 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1511, allocations: 25.7 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.1511, allocations: 96.14 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.1512, allocations: 43.36 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.1513, allocations: 29.7 kB / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1515, allocations: 330.8 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1516, allocations: 44.09 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.1517, allocations: 47.97 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.152, allocations: 112.8 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.152, allocations: 0 / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002973/0.1523, allocations: 145.5 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1523, allocations: 8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1523, allocations: 3.938 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1523, allocations: 4 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1525, allocations: 27.97 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1525, allocations: 4.172 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.1526, allocations: 8 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.1526, allocations: 4 kB / 485.8 MB, free: 15.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 (13): * Single equations (assignments): 13 * 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.0001316/0.1527, allocations: 125.8 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.1528, allocations: 19.75 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.1532, allocations: 186.3 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1532, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.1533, allocations: 4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1533, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007681/0.154, allocations: 499.1 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.154, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1542, allocations: 31.92 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1542, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1542, allocations: 4 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1542, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1542, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.1546, allocations: 264.1 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.1547, allocations: 85.02 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.1547, allocations: 8 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/0.1548, allocations: 15.92 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.1548, allocations: 7.938 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1549, allocations: 7.938 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.155, allocations: 131.2 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.155, allocations: 0 / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1553, allocations: 24 kB / 487.2 MB, free: 13.81 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 (13): * Single equations (assignments): 13 * 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.002325/0.1576, allocations: 1.121 MB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003295/0.158, allocations: 123.9 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.158, allocations: 4 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1581, allocations: 59.91 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.1585, allocations: 26.92 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.1611, allocations: 1.736 MB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.1615, allocations: 0.7158 MB / 490.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.1616, allocations: 28.53 kB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.1617, allocations: 35.42 kB / 491 MB, free: 9.988 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1617, allocations: 0 / 491 MB, free: 9.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.1876, allocations: 3.198 MB / 494.2 MB, free: 6.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.079, allocations: 16.77 kB / 494.2 MB, free: 6.852 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1)