Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00147/0.001471, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001772/0.001772, allocations: 206.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.439/1.439, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002438, allocations: 80.64 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1509, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.004896/0.1558, allocations: 1.611 MB / 481.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1575, allocations: 0.5611 MB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.1577, allocations: 0 / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008959/0.1586, allocations: 455.1 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007399/0.1594, allocations: 295.3 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.1601, allocations: 167.3 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.1606, allocations: 167.7 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.1608, allocations: 19.92 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.161, allocations: 107.8 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.1613, allocations: 207.6 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.1613, allocations: 0 / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1615, allocations: 27.98 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1616, allocations: 95.56 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1617, allocations: 107 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.162, allocations: 239 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.162, allocations: 0 / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1621, allocations: 0 / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1621, allocations: 0 / 484.1 MB, free: 1.16 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.0009887/0.1631, allocations: 0.6494 MB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.1631, allocations: 8.031 kB / 484.8 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.1632, allocations: 34.75 kB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.349e-05/0.1633, allocations: 44.38 kB / 484.9 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.1637, allocations: 304.1 kB / 485.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1637, allocations: 384 / 485.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.1637, allocations: 4.375 kB / 485.2 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.1639, allocations: 53.56 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.164, allocations: 7.984 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.164, allocations: 0 / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.164, allocations: 0 / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1641, allocations: 19.98 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.165, allocations: 396.7 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1652, allocations: 34.5 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.225e-05/0.1652, allocations: 20.91 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.1653, allocations: 3.984 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.1653, allocations: 30.56 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.1654, allocations: 4 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.000427/0.1658, allocations: 97.2 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.1659, allocations: 55.34 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009958/0.1669, allocations: 0.8777 MB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1669, allocations: 25.7 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.1671, allocations: 231.9 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.1671, allocations: 4 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1672, allocations: 17.84 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1674, allocations: 362.7 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.903e-05/0.1674, allocations: 12 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/0.1675, allocations: 7.984 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.624e-05/0.1675, allocations: 32.84 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1676, allocations: 0 / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001816/0.1677, allocations: 109 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1678, allocations: 6.5 kB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1678, allocations: 0 / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1678, allocations: 0 / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.1679, allocations: 4 kB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1679, allocations: 0 / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.168, allocations: 7.938 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.168, allocations: 0 / 487.6 MB, free: 13.5 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 (2): * Single equations (assignments): 2 * 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.0002145/0.1682, allocations: 217.7 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.1683, allocations: 43.44 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.1685, allocations: 108.7 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1685, allocations: 4 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1686, allocations: 0 / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1686, allocations: 0 / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.1689, allocations: 289.5 kB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1689, allocations: 0 / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.169, allocations: 11.92 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.169, allocations: 8.031 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.169, allocations: 0 / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.169, allocations: 0 / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.169, allocations: 0 / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.1693, allocations: 194.9 kB / 488.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/0.1694, allocations: 108.5 kB / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1694, allocations: 0 / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.1695, allocations: 8.031 kB / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.1695, allocations: 3.984 kB / 488.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1695, allocations: 0 / 488.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006419/0.1702, allocations: 0.6628 MB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1702, allocations: 0 / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.1704, allocations: 27.94 kB / 489.2 MB, free: 11.73 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 (2): * Single equations (assignments): 2 * 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.001244/0.1717, allocations: 0.9649 MB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.1719, allocations: 31.97 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1719, allocations: 0 / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.327e-05/0.1719, allocations: 11.94 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.1724, allocations: 26.3 kB / 490.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.1762, allocations: 3.21 MB / 493.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.1767, allocations: 0.826 MB / 494.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.956e-05/0.1767, allocations: 16.05 kB / 494.3 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.1769, allocations: 115.4 kB / 494.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1769, allocations: 0 / 494.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.2017, allocations: 5.647 MB / 0.4884 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.021, allocations: 11.52 kB / 0.4884 GB, free: 0.8906 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches