Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",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.001087/0.001087, 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.001168/0.001168, 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.388/1.388, 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.2297/0.2297, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 59.28 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1342, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004317/0.1386, allocations: 2.032 MB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1408, allocations: 1.049 MB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.1411, allocations: 0 / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.1414, allocations: 35.66 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.142, allocations: 163.2 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1431, allocations: 435 kB / 473.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.1437, allocations: 279 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.1439, allocations: 68.97 kB / 473.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.1442, allocations: 115.5 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.1446, allocations: 203.2 kB / 473.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.777e-05/0.1446, allocations: 12 kB / 473.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1448, allocations: 59.98 kB / 473.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.145, allocations: 143.6 kB / 473.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.1451, allocations: 174.6 kB / 474.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004357/0.1456, allocations: 382.5 kB / 474.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1456, allocations: 0 / 474.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1456, allocations: 3.984 kB / 474.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.1456, allocations: 4 kB / 474.5 MB, free: 9.145 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.001255/0.1469, allocations: 0.7958 MB / 475.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1469, allocations: 8.031 kB / 475.3 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.064e-05/0.147, allocations: 42.73 kB / 475.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.1471, allocations: 52.28 kB / 475.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/0.1478, allocations: 463.7 kB / 475.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1479, allocations: 4.375 kB / 475.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.1479, allocations: 19.88 kB / 475.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.1483, allocations: 148.9 kB / 476 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1483, allocations: 0 / 476 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1484, allocations: 4 kB / 476 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1484, allocations: 4 kB / 476 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.1487, allocations: 95.92 kB / 476.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1498, allocations: 0.6839 MB / 476.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.1501, allocations: 129.2 kB / 476.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.1503, allocations: 57.81 kB / 477 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.1503, allocations: 0 / 477 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1504, allocations: 46.5 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.1504, allocations: 4 kB / 477 MB, free: 6.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00215/0.1525, allocations: 0.6695 MB / 477.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.1526, allocations: 81.11 kB / 477.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009901/0.1536, allocations: 0.8706 MB / 478.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.1537, allocations: 29.7 kB / 478.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.1539, allocations: 264.2 kB / 478.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.1539, allocations: 67 kB / 479 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.739e-05/0.154, allocations: 41.7 kB / 479 MB, free: 4.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1542, allocations: 374.7 kB / 479.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.1545, allocations: 87.94 kB / 479.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.1548, allocations: 113.6 kB / 479.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.1553, allocations: 201.6 kB / 479.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1553, allocations: 0 / 479.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006999/0.156, allocations: 308.7 kB / 480.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1561, allocations: 4 kB / 480.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1561, allocations: 192 / 480.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1561, allocations: 4 kB / 480.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.1564, allocations: 55.83 kB / 480.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1564, allocations: 4 kB / 480.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.1566, allocations: 27.97 kB / 480.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.1567, allocations: 4 kB / 480.2 MB, free: 3.156 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 (20): * Single equations (assignments): 20 * 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.0002268/0.1569, allocations: 217.6 kB / 480.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.157, allocations: 51.34 kB / 480.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008169/0.1579, allocations: 354.7 kB / 480.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1579, allocations: 4 kB / 480.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1579, allocations: 4 kB / 480.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1579, allocations: 0 / 480.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.1593, allocations: 0.8839 MB / 481.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1593, allocations: 0 / 481.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.1595, allocations: 55.95 kB / 481.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1596, allocations: 4 kB / 481.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.1596, allocations: 7.984 kB / 481.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.1596, allocations: 3.938 kB / 481.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1596, allocations: 0 / 481.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.1604, allocations: 482.2 kB / 482.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.1606, allocations: 152.4 kB / 482.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.1607, allocations: 4 kB / 482.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.1609, allocations: 31.84 kB / 482.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/0.161, allocations: 19.97 kB / 482.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.1611, allocations: 4 kB / 482.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007585/0.1618, allocations: 0.6432 MB / 483.1 MB, free: 160 kB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1618, allocations: 0 / 483.1 MB, free: 160 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003972/0.1622, allocations: 64 kB / 483.1 MB, free: 96 kB / 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 (20): * Single equations (assignments): 20 * 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.002094/0.1643, allocations: 1.307 MB / 484.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006841/0.165, allocations: 235.7 kB / 484.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1651, allocations: 0 / 484.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.1654, allocations: 127.8 kB / 484.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006862/0.1661, allocations: 80.31 kB / 484.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007775/0.1739, allocations: 5.329 MB / 490.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.1746, allocations: 0.8582 MB / 491.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002537/0.1748, allocations: 83.22 kB / 491.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.1751, allocations: 175.4 kB / 491.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of SimCode: time 4.388e-06/0.1752, allocations: 0 / 491.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03489/0.2101, allocations: 9.826 MB / 0.4894 GB, free: 14.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/7.921, allocations: 11.92 kB / 0.4894 GB, free: 14.18 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches