Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",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.001211/0.001211, allocations: 101.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.001335/0.001335, 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.442/1.442, 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.2245/0.2245, allocations: 44.17 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 69.86 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1347, allocations: 60.82 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.004432/0.1392, allocations: 1.958 MB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1414, allocations: 1.029 MB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.1417, allocations: 4 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.1419, allocations: 39.59 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004929/0.1425, allocations: 147.4 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.1439, allocations: 428.9 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00042/0.1444, allocations: 251.2 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.1446, allocations: 60.64 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.1449, allocations: 119.5 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.1452, allocations: 171.4 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.193e-05/0.1453, allocations: 12 kB / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.1455, allocations: 63.91 kB / 473.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.1457, allocations: 131.6 kB / 473.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.1459, allocations: 162.7 kB / 473.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.1465, allocations: 370.5 kB / 474.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1466, allocations: 0 / 474.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1466, allocations: 0 / 474.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.1466, allocations: 0 / 474.3 MB, free: 9.312 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001532/0.1481, allocations: 0.7619 MB / 475 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.241e-05/0.1482, allocations: 12.03 kB / 475 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.296e-05/0.1483, allocations: 46.73 kB / 475.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.1484, allocations: 56.19 kB / 475.1 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007092/0.1492, allocations: 447.9 kB / 475.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1492, allocations: 12.38 kB / 475.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.1492, allocations: 15.94 kB / 475.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.1496, allocations: 127 kB / 475.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1496, allocations: 0 / 475.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.1496, allocations: 4 kB / 475.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1496, allocations: 0 / 475.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.1498, allocations: 83.88 kB / 475.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.151, allocations: 0.6798 MB / 476.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.1512, allocations: 117.2 kB / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1513, allocations: 41.83 kB / 476.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.1514, allocations: 7.938 kB / 476.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1514, allocations: 34.56 kB / 476.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.1514, allocations: 0 / 476.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001413/0.1528, allocations: 0.4982 MB / 477.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.1529, allocations: 85.05 kB / 477.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009568/0.1539, allocations: 0.8779 MB / 478.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1539, allocations: 25.7 kB / 478.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.1541, allocations: 252.2 kB / 478.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.1542, allocations: 47.27 kB / 478.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.1543, allocations: 37.7 kB / 478.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1545, allocations: 370.7 kB / 478.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.1547, allocations: 63.83 kB / 478.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.1548, allocations: 69.67 kB / 479 MB, free: 4.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.1552, allocations: 141.6 kB / 479.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1552, allocations: 0 / 479.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004894/0.1557, allocations: 213.1 kB / 479.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1557, allocations: 4 kB / 479.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1557, allocations: 8.828 kB / 479.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1558, allocations: 0 / 479.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.156, allocations: 35.97 kB / 479.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.156, allocations: 3.984 kB / 479.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1561, allocations: 15.98 kB / 479.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.1562, allocations: 7.984 kB / 479.4 MB, free: 3.879 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001979/0.1564, allocations: 213.7 kB / 479.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1565, allocations: 55.34 kB / 479.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005871/0.1571, allocations: 270.2 kB / 479.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1571, allocations: 7.938 kB / 480 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1571, allocations: 0 / 480 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1571, allocations: 0 / 480 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.1582, allocations: 0.7708 MB / 480.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1582, allocations: 0 / 480.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.1584, allocations: 39.91 kB / 480.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.1584, allocations: 8 kB / 480.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1584, allocations: 4 kB / 480.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1584, allocations: 3.938 kB / 480.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1584, allocations: 4.312 kB / 480.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.1589, allocations: 399.2 kB / 481.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.1591, allocations: 152.4 kB / 481.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/0.1592, allocations: 11.92 kB / 481.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.1594, allocations: 11.94 kB / 481.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.1595, allocations: 19.97 kB / 481.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1595, allocations: 4 kB / 481.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007036/0.1602, allocations: 0.6354 MB / 482 MB, free: 1.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1602, allocations: 4 kB / 482 MB, free: 1.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003631/0.1606, allocations: 52 kB / 482.1 MB, free: 1.133 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001674/0.1623, allocations: 1.233 MB / 483.3 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004277/0.1627, allocations: 151.8 kB / 483.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1628, allocations: 0 / 483.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.1629, allocations: 79.89 kB / 483.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.1636, allocations: 69.5 kB / 483.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007072/0.1707, allocations: 5.09 MB / 488.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.1712, allocations: 0.8497 MB / 489.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002111/0.1714, allocations: 87.78 kB / 489.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.1717, allocations: 163.4 kB / 489.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of SimCode: time 1.423e-06/0.1717, allocations: 0 / 489.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.2049, allocations: 9.362 MB / 499.1 MB, free: 172 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/7.788, allocations: 18.89 kB / 499.1 MB, free: 160 kB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches