Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",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.001225/0.001224, 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.001361/0.001361, 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.412/1.412, 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.2228/0.2228, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 69.27 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1336, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003238/0.1369, allocations: 1.569 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007566/0.1377, allocations: 411.2 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.1378, allocations: 0 / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.1383, allocations: 447.2 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.1387, allocations: 247.5 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1391, allocations: 134.2 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1393, allocations: 147.8 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1394, allocations: 11.98 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1395, allocations: 107.7 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1397, allocations: 211.7 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.1397, allocations: 0 / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.1398, allocations: 23.98 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1399, allocations: 75.7 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.755e-05/0.14, allocations: 103 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.1403, allocations: 239 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1403, allocations: 0 / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1403, allocations: 0 / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1403, allocations: 4 kB / 473 MB, free: 10.56 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.0006811/0.141, allocations: 0.63 MB / 473.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1411, allocations: 8.031 kB / 473.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.1411, allocations: 34.75 kB / 473.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.1412, allocations: 44.36 kB / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.1414, allocations: 292.2 kB / 474 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1415, allocations: 12.36 kB / 474.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1415, allocations: 384 / 474.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1416, allocations: 53.62 kB / 474.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1417, allocations: 0 / 474.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.1417, allocations: 0 / 474.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1417, allocations: 0 / 474.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.099e-05/0.1418, allocations: 23.92 kB / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.1423, allocations: 372.8 kB / 474.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.995e-05/0.1424, allocations: 38.56 kB / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.1424, allocations: 12.91 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1425, allocations: 3.938 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1425, allocations: 30.56 kB / 474.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1425, allocations: 4 kB / 474.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002722/0.1428, allocations: 93.12 kB / 474.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.1429, allocations: 63.52 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008158/0.1437, allocations: 0.8535 MB / 475.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1437, allocations: 29.64 kB / 475.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1439, allocations: 228.1 kB / 475.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.1439, allocations: 7.844 kB / 475.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.144, allocations: 13.72 kB / 475.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.1442, allocations: 362.7 kB / 476.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.1442, allocations: 7.984 kB / 476.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.1442, allocations: 11.94 kB / 476.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.383e-05/0.1443, allocations: 28.84 kB / 476.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1443, allocations: 3.938 kB / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000149/0.1445, allocations: 89.12 kB / 476.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1445, allocations: 7.984 kB / 476.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1445, allocations: 4 kB / 476.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1446, allocations: 96 / 476.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.1446, allocations: 8 kB / 476.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1447, allocations: 0 / 476.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.1447, allocations: 0 / 476.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1447, allocations: 7.984 kB / 476.4 MB, free: 6.977 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.00023/0.145, allocations: 217.6 kB / 476.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.145, allocations: 39.53 kB / 476.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.1452, allocations: 104.6 kB / 476.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1453, allocations: 4.031 kB / 476.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1453, allocations: 0 / 476.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1453, allocations: 0 / 476.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.1456, allocations: 289.4 kB / 477 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1456, allocations: 0 / 477 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.1456, allocations: 7.984 kB / 477 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1456, allocations: 4 kB / 477 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1457, allocations: 0 / 477 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1457, allocations: 0 / 477 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1457, allocations: 0 / 477 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.1459, allocations: 187 kB / 477.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.146, allocations: 116.5 kB / 477.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.146, allocations: 4 kB / 477.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.1461, allocations: 0 / 477.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.1461, allocations: 0 / 477.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1461, allocations: 4 kB / 477.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006491/0.1468, allocations: 0.655 MB / 478 MB, free: 5.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1468, allocations: 4.031 kB / 478 MB, free: 5.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.147, allocations: 23.94 kB / 478 MB, free: 5.234 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.001322/0.1484, allocations: 0.969 MB / 479 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1485, allocations: 23.98 kB / 479 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1485, allocations: 0 / 479 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/0.1486, allocations: 11.98 kB / 479 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.1491, allocations: 26.03 kB / 479 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.1524, allocations: 3.145 MB / 482.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.1528, allocations: 0.8182 MB / 483 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.598e-05/0.1529, allocations: 7.984 kB / 483 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.153, allocations: 103.4 kB / 483.1 MB, free: 128 kB / 350.1 MB Notification: Performance of SimCode: time 1.663e-06/0.153, allocations: 0 / 483.1 MB, free: 128 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.176, allocations: 5.569 MB / 488.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.636, allocations: 6.719 kB / 488.7 MB, free: 10.63 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches