Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001592/0.001592, 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.001824/0.001824, 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.357/1.357, 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.2523/0.2523, allocations: 44.19 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.48 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1247, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003555/0.1283, allocations: 1.969 MB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.13, allocations: 0.9667 MB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.1301, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.1306, allocations: 263.2 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.131, allocations: 187.3 kB / 472.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1323, allocations: 0.6457 MB / 473.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.1327, allocations: 307.3 kB / 473.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.1329, allocations: 80.55 kB / 473.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.1331, allocations: 135.5 kB / 473.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.1333, allocations: 199.4 kB / 474.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.1333, allocations: 8 kB / 474.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.1335, allocations: 107.8 kB / 474.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.1337, allocations: 87.75 kB / 474.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1338, allocations: 123 kB / 474.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.1341, allocations: 322.9 kB / 474.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1342, allocations: 0 / 474.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1342, allocations: 0 / 474.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1342, allocations: 4 kB / 474.7 MB, free: 8.867 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007435/0.1349, allocations: 0.6613 MB / 475.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.135, allocations: 11.97 kB / 475.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.135, allocations: 46.67 kB / 475.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.1351, allocations: 44.38 kB / 475.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.1355, allocations: 322.2 kB / 475.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1355, allocations: 12.38 kB / 475.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.1356, allocations: 16.22 kB / 475.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.1358, allocations: 133.5 kB / 476 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1359, allocations: 0 / 476 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1359, allocations: 4 kB / 476 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1359, allocations: 8 kB / 476 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.1361, allocations: 95.86 kB / 476.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007234/0.1368, allocations: 0.512 MB / 476.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.1371, allocations: 118.5 kB / 476.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.1371, allocations: 36.84 kB / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1372, allocations: 0 / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1372, allocations: 38.5 kB / 476.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.1372, allocations: 0 / 476.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001039/0.1383, allocations: 444 kB / 477.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.1383, allocations: 51.41 kB / 477.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.1389, allocations: 0.5526 MB / 477.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1389, allocations: 29.69 kB / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1391, allocations: 204.4 kB / 478 MB, free: 5.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.1391, allocations: 59.11 kB / 478.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.1392, allocations: 37.7 kB / 478.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1394, allocations: 350.8 kB / 478.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.1395, allocations: 63.95 kB / 478.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1397, allocations: 70.86 kB / 478.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.14, allocations: 156.7 kB / 478.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.14, allocations: 0 / 478.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004073/0.1404, allocations: 235.4 kB / 479 MB, free: 4.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1404, allocations: 4 kB / 479 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1404, allocations: 0 / 479 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1404, allocations: 0 / 479 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.1406, allocations: 35.92 kB / 479 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1406, allocations: 0 / 479 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.82e-05/0.1407, allocations: 23.83 kB / 479 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1408, allocations: 4 kB / 479.1 MB, free: 4.312 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 (17): * Single equations (assignments): 17 * 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.0001591/0.1409, allocations: 185.7 kB / 479.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.141, allocations: 35.53 kB / 479.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005404/0.1416, allocations: 277.4 kB / 479.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1416, allocations: 4 kB / 479.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1416, allocations: 0 / 479.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1416, allocations: 0 / 479.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008407/0.1424, allocations: 0.6879 MB / 480.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1425, allocations: 0 / 480.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.1426, allocations: 35.97 kB / 480.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1426, allocations: 0 / 480.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1426, allocations: 4 kB / 480.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1426, allocations: 3.938 kB / 480.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1426, allocations: 4 kB / 480.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.1431, allocations: 330.8 kB / 480.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/0.1432, allocations: 120.6 kB / 480.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.1432, allocations: 0 / 480.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.1433, allocations: 15.94 kB / 480.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.1434, allocations: 7.984 kB / 480.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1434, allocations: 8 kB / 480.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004212/0.1438, allocations: 419.1 kB / 481.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1438, allocations: 0 / 481.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.1442, allocations: 51.98 kB / 481.2 MB, free: 2.043 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 (17): * Single equations (assignments): 17 * 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.002292/0.1465, allocations: 1.457 MB / 482.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003813/0.1469, allocations: 178.1 kB / 482.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1469, allocations: 0 / 482.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.147, allocations: 91.89 kB / 482.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.1476, allocations: 85.06 kB / 483 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.1514, allocations: 3.231 MB / 486.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.1518, allocations: 0.8143 MB / 487.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.1519, allocations: 58.23 kB / 487.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.1521, allocations: 123.4 kB / 487.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1521, allocations: 0 / 487.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.1759, allocations: 7.339 MB / 494.6 MB, free: 4.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/7.883, allocations: 4.047 kB / 494.6 MB, free: 4.953 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches