Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001049/0.001049, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001138/0.001138, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.393/1.393, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2213/0.2213, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 64.36 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.141, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003312/0.1444, allocations: 1.611 MB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000857/0.1453, allocations: 447.1 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.1453, allocations: 0 / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006009/0.1459, allocations: 451.1 kB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.1464, allocations: 255.4 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.1468, allocations: 179.1 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.147, allocations: 159.7 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1471, allocations: 20.17 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1472, allocations: 107.8 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1475, allocations: 215.6 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.1475, allocations: 0 / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.572e-05/0.1476, allocations: 31.98 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.1477, allocations: 83.69 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.039e-05/0.1478, allocations: 106.9 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.1481, allocations: 255.2 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1481, allocations: 4 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1481, allocations: 0 / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1481, allocations: 4 kB / 473.2 MB, free: 10.36 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.0007389/0.1489, allocations: 0.6375 MB / 473.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1489, allocations: 8.031 kB / 473.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.149, allocations: 34.69 kB / 473.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.149, allocations: 44.45 kB / 474 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1493, allocations: 308.1 kB / 474.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1493, allocations: 384 / 474.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.1494, allocations: 12.12 kB / 474.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1495, allocations: 45.69 kB / 474.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1496, allocations: 7.984 kB / 474.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1496, allocations: 4 kB / 474.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1496, allocations: 0 / 474.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1497, allocations: 27.98 kB / 474.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.1503, allocations: 404.5 kB / 474.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.1505, allocations: 46.55 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.1506, allocations: 16.86 kB / 474.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1506, allocations: 0 / 474.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1506, allocations: 38.5 kB / 474.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1506, allocations: 0 / 474.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006834/0.1513, allocations: 228.1 kB / 475.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1514, allocations: 59.34 kB / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.1522, allocations: 0.8691 MB / 476 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1523, allocations: 25.7 kB / 476 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.1525, allocations: 224 kB / 476.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1525, allocations: 23.81 kB / 476.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.1525, allocations: 17.72 kB / 476.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1527, allocations: 358.8 kB / 476.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.1528, allocations: 23.98 kB / 476.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.1528, allocations: 19.98 kB / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.153, allocations: 57.02 kB / 476.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.153, allocations: 0 / 476.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002095/0.1532, allocations: 121.1 kB / 476.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1532, allocations: 4 kB / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1533, allocations: 11.94 kB / 476.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1533, allocations: 0 / 476.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.1534, allocations: 11.98 kB / 476.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1534, allocations: 3.938 kB / 476.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.1534, allocations: 11.94 kB / 476.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1535, allocations: 7.938 kB / 476.9 MB, free: 6.449 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.0001841/0.1536, allocations: 209.8 kB / 477.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.1537, allocations: 39.53 kB / 477.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.154, allocations: 145.1 kB / 477.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.154, allocations: 0 / 477.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.154, allocations: 7.875 kB / 477.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.154, allocations: 0 / 477.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/0.1546, allocations: 466.4 kB / 477.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1546, allocations: 4 kB / 477.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.1546, allocations: 15.98 kB / 477.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1547, allocations: 3.938 kB / 477.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1547, allocations: 0 / 477.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1547, allocations: 4 kB / 477.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1547, allocations: 0 / 477.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1549, allocations: 215.2 kB / 478 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.155, allocations: 120.8 kB / 478.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1551, allocations: 3.938 kB / 478.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.367e-05/0.1552, allocations: 7.984 kB / 478.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1552, allocations: 0 / 478.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1552, allocations: 7.984 kB / 478.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005945/0.1558, allocations: 0.655 MB / 478.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1558, allocations: 0 / 478.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1561, allocations: 20 kB / 478.8 MB, free: 4.441 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.00134/0.1574, allocations: 1.058 MB / 479.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.1577, allocations: 51.97 kB / 479.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1577, allocations: 0 / 479.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.1578, allocations: 35.91 kB / 479.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.1582, allocations: 22.31 kB / 480 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.1619, allocations: 3.283 MB / 483.2 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.1624, allocations: 0.8299 MB / 484.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.562e-05/0.1625, allocations: 15.97 kB / 484.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.1627, allocations: 107.4 kB / 484.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1627, allocations: 0 / 484.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.1884, allocations: 5.888 MB / 490.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/7.717, allocations: 14.84 kB / 490.1 MB, free: 9.234 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_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_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches