Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2207/0.2207, allocations: 44.19 MB / 336.6 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.5 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1469, allocations: 60.84 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003107/0.15, allocations: 1.593 MB / 471 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007428/0.1508, allocations: 431.1 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.1509, allocations: 4 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000538/0.1514, allocations: 447.2 kB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.1518, allocations: 263.3 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1521, allocations: 123.5 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.1523, allocations: 163.6 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.1524, allocations: 12.19 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1525, allocations: 107.8 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.1527, allocations: 207.6 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1528, allocations: 8 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.1529, allocations: 35.94 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.153, allocations: 83.67 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.153, allocations: 99 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.1533, allocations: 251.2 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1533, allocations: 0 / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1534, allocations: 0 / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1534, allocations: 4 kB / 473.2 MB, free: 10.43 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.0007445/0.1541, allocations: 0.6336 MB / 473.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1542, allocations: 12.03 kB / 473.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.1542, allocations: 30.75 kB / 473.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.1543, allocations: 40.47 kB / 473.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.1546, allocations: 300.1 kB / 474.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.1546, allocations: 4.375 kB / 474.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.1546, allocations: 4.125 kB / 474.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1548, allocations: 53.67 kB / 474.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1548, allocations: 4 kB / 474.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1548, allocations: 0 / 474.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1548, allocations: 0 / 474.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.192e-05/0.1549, allocations: 23.98 kB / 474.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.1554, allocations: 396.5 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.1556, allocations: 46.55 kB / 474.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.1557, allocations: 16.86 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1557, allocations: 4 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1558, allocations: 30.56 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1558, allocations: 0 / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006213/0.1564, allocations: 224.1 kB / 475 MB, free: 8.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.1564, allocations: 51.41 kB / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008444/0.1573, allocations: 0.873 MB / 475.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1573, allocations: 25.7 kB / 475.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1575, allocations: 224 kB / 476.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1575, allocations: 19.75 kB / 476.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.1576, allocations: 13.72 kB / 476.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1577, allocations: 362.8 kB / 476.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.1578, allocations: 23.92 kB / 476.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.1579, allocations: 19.98 kB / 476.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.158, allocations: 48.77 kB / 476.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.158, allocations: 0 / 476.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002037/0.1582, allocations: 117.1 kB / 476.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1583, allocations: 4 kB / 476.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1583, allocations: 0 / 476.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1583, allocations: 0 / 476.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.1584, allocations: 15.98 kB / 476.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.631e-05/0.1584, allocations: 11.88 kB / 476.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.1585, allocations: 4 kB / 476.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.1585, allocations: 0 / 476.7 MB, free: 6.59 MB / 350.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 (5): * Single equations (assignments): 5 * 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.0001681/0.1587, allocations: 213.8 kB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.1587, allocations: 43.44 kB / 477 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.159, allocations: 129 kB / 477.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.159, allocations: 4 kB / 477.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.159, allocations: 7.938 kB / 477.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.159, allocations: 3.984 kB / 477.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.1595, allocations: 462.7 kB / 477.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1595, allocations: 0 / 477.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.1596, allocations: 8.281 kB / 477.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.1596, allocations: 3.938 kB / 477.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1596, allocations: 7.984 kB / 477.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1596, allocations: 4 kB / 477.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1596, allocations: 0 / 477.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1599, allocations: 214.9 kB / 477.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.16, allocations: 108.6 kB / 477.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.16, allocations: 3.938 kB / 477.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.1601, allocations: 8 kB / 477.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1602, allocations: 11.98 kB / 478 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1602, allocations: 0 / 478 MB, free: 5.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006217/0.1608, allocations: 0.6472 MB / 478.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1608, allocations: 3.938 kB / 478.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1611, allocations: 31.91 kB / 478.6 MB, free: 4.59 MB / 350.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 (5): * Single equations (assignments): 5 * 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.001388/0.1625, allocations: 1.046 MB / 479.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1627, allocations: 51.91 kB / 479.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1627, allocations: 0 / 479.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.469e-05/0.1628, allocations: 23.98 kB / 479.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.1632, allocations: 29.89 kB / 479.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.1668, allocations: 3.238 MB / 483 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.1672, allocations: 0.8259 MB / 483.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.803e-05/0.1673, allocations: 4 kB / 483.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.1674, allocations: 111.4 kB / 484 MB, free: 15.28 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1674, allocations: 0 / 484 MB, free: 15.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.1968, allocations: 5.824 MB / 489.8 MB, free: 9.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/7.774, allocations: 3.938 kB / 489.8 MB, free: 9.531 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_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_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches