Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.001144/0.001144, 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.001191/0.001192, 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.401/1.401, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2184/0.2184, allocations: 44.19 MB / 336.6 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 66.94 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 60.81 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003003/0.1372, allocations: 1.577 MB / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00069/0.1379, allocations: 407.2 kB / 471.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.138, allocations: 0 / 471.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005333/0.1385, allocations: 443.2 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.1389, allocations: 259.4 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.1392, allocations: 118.5 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1394, allocations: 155.7 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.1395, allocations: 15.98 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1396, allocations: 107.7 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.1398, allocations: 199.7 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.1399, allocations: 4 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.1399, allocations: 23.98 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.505e-05/0.14, allocations: 75.7 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.166e-05/0.1401, allocations: 106.9 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1404, allocations: 243 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1404, allocations: 3.938 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1404, allocations: 0 / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1404, allocations: 0 / 473 MB, free: 10.54 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.0006652/0.1411, allocations: 0.629 MB / 473.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1411, allocations: 8.031 kB / 473.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.1412, allocations: 38.75 kB / 473.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.1413, allocations: 40.38 kB / 473.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.1415, allocations: 296.1 kB / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1415, allocations: 8.359 kB / 474.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1415, allocations: 384 / 474.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.1417, allocations: 57.56 kB / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1417, allocations: 0 / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1417, allocations: 0 / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1417, allocations: 0 / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.1418, allocations: 19.98 kB / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.1422, allocations: 376.8 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.1423, allocations: 34.52 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.1424, allocations: 16.91 kB / 474.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1424, allocations: 0 / 474.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1425, allocations: 34.56 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1425, allocations: 4 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002577/0.1427, allocations: 89.12 kB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1428, allocations: 63.33 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008256/0.1436, allocations: 0.8575 MB / 475.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1436, allocations: 25.7 kB / 475.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1438, allocations: 224.1 kB / 475.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.1438, allocations: 15.91 kB / 475.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.1439, allocations: 13.72 kB / 475.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.144, allocations: 362.7 kB / 476.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.482e-05/0.1441, allocations: 11.98 kB / 476.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.1441, allocations: 4 kB / 476.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.993e-05/0.1442, allocations: 24.84 kB / 476.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1442, allocations: 4.062 kB / 476.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000168/0.1444, allocations: 93.11 kB / 476.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1444, allocations: 4 kB / 476.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1444, allocations: 3.938 kB / 476.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1445, allocations: 4 kB / 476.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.1445, allocations: 4 kB / 476.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1445, allocations: 0 / 476.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.1446, allocations: 4 kB / 476.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.1446, allocations: 4 kB / 476.4 MB, free: 6.961 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 (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.0001811/0.1448, allocations: 213.7 kB / 476.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.1449, allocations: 43.47 kB / 476.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.1451, allocations: 104.6 kB / 476.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1451, allocations: 4 kB / 476.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1451, allocations: 0 / 476.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1451, allocations: 0 / 476.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.1454, allocations: 285.4 kB / 477 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1454, allocations: 0 / 477 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.1454, allocations: 15.95 kB / 477 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1454, allocations: 0 / 477 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1454, allocations: 4 kB / 477 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1455, allocations: 0 / 477 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1455, allocations: 0 / 477 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1457, allocations: 183 kB / 477.2 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.1458, allocations: 112.5 kB / 477.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1458, allocations: 8.031 kB / 477.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1459, allocations: 0 / 477.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.1459, allocations: 4 kB / 477.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1459, allocations: 4 kB / 477.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006342/0.1466, allocations: 0.6511 MB / 478 MB, free: 5.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.1466, allocations: 0 / 478 MB, free: 5.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1468, allocations: 23.88 kB / 478 MB, free: 5.223 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 (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.001162/0.148, allocations: 0.9671 MB / 479 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.1482, allocations: 27.98 kB / 479 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1482, allocations: 0 / 479 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.1482, allocations: 11.92 kB / 479 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.1486, allocations: 25.95 kB / 479 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.1521, allocations: 3.133 MB / 482.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.1526, allocations: 0.8221 MB / 483 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.959e-05/0.1527, allocations: 12.05 kB / 483 MB, free: 224 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.1528, allocations: 107.4 kB / 483.1 MB, free: 116 kB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1528, allocations: 0 / 483.1 MB, free: 116 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.1804, allocations: 5.566 MB / 488.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.668, allocations: 14.69 kB / 488.7 MB, free: 10.61 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_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_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches