Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001178/0.001178, allocations: 102.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.001278/0.001278, 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.381/1.381, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2155/0.2155, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.78 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.128, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.00373/0.1318, allocations: 1.586 MB / 470.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.1326, allocations: 431.1 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.1327, allocations: 0 / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.1333, allocations: 451.1 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.1337, allocations: 251.5 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1341, allocations: 177.6 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.1343, allocations: 159.8 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1345, allocations: 20.11 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1346, allocations: 111.7 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.1348, allocations: 215.6 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.1349, allocations: 4 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.1349, allocations: 20 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.135, allocations: 83.69 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.469e-05/0.1352, allocations: 95.06 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.1355, allocations: 255.2 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1355, allocations: 3.938 kB / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1355, allocations: 0 / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1355, allocations: 0 / 473.2 MB, free: 10.44 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.0007002/0.1362, allocations: 0.6375 MB / 473.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1362, allocations: 8.031 kB / 473.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.1363, allocations: 34.75 kB / 473.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.1363, allocations: 40.47 kB / 473.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1366, allocations: 300.1 kB / 474.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.1366, allocations: 4.375 kB / 474.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.1366, allocations: 4.125 kB / 474.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1368, allocations: 61.61 kB / 474.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1368, allocations: 4 kB / 474.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.1368, allocations: 0 / 474.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1368, allocations: 0 / 474.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.137, allocations: 31.97 kB / 474.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.1375, allocations: 396.7 kB / 474.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.1376, allocations: 46.55 kB / 474.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.569e-05/0.1377, allocations: 28.88 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1377, allocations: 0 / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.1377, allocations: 34.56 kB / 474.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1378, allocations: 0 / 474.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003498/0.1381, allocations: 129.2 kB / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.1382, allocations: 51.41 kB / 475 MB, free: 8.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007988/0.139, allocations: 0.8574 MB / 475.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.139, allocations: 29.7 kB / 475.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1392, allocations: 212 kB / 476 MB, free: 7.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1392, allocations: 15.84 kB / 476.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.1392, allocations: 13.66 kB / 476.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1394, allocations: 370.7 kB / 476.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.1395, allocations: 19.92 kB / 476.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.1395, allocations: 19.98 kB / 476.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1397, allocations: 41.11 kB / 476.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1397, allocations: 0 / 476.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002124/0.1399, allocations: 117.1 kB / 476.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1399, allocations: 7.938 kB / 476.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1399, allocations: 4 kB / 476.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1399, allocations: 4 kB / 476.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.14, allocations: 7.984 kB / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1401, allocations: 0 / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.783e-05/0.1401, allocations: 7.938 kB / 476.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1401, allocations: 4 kB / 476.7 MB, free: 6.699 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 (3): * Single equations (assignments): 3 * 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.0001895/0.1403, allocations: 213.7 kB / 476.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.1404, allocations: 39.53 kB / 476.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.1407, allocations: 125 kB / 477 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.1407, allocations: 4 kB / 477 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1407, allocations: 0 / 477 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1407, allocations: 0 / 477 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.141, allocations: 293.4 kB / 477.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.141, allocations: 0 / 477.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.141, allocations: 11.98 kB / 477.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1411, allocations: 0 / 477.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.1411, allocations: 0 / 477.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.1411, allocations: 8 kB / 477.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1411, allocations: 3.938 kB / 477.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1413, allocations: 207 kB / 477.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1415, allocations: 108.5 kB / 477.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.1415, allocations: 4 kB / 477.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.1416, allocations: 7.984 kB / 477.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.1416, allocations: 4 kB / 477.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1416, allocations: 0 / 477.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000556/0.1422, allocations: 0.6511 MB / 478.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1422, allocations: 0 / 478.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1424, allocations: 23.94 kB / 478.3 MB, free: 4.91 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 (3): * Single equations (assignments): 3 * 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.001112/0.1436, allocations: 0.9997 MB / 479.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.1438, allocations: 39.97 kB / 479.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1438, allocations: 4 kB / 479.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.027e-05/0.1438, allocations: 27.92 kB / 479.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1442, allocations: 21.95 kB / 479.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.1474, allocations: 3.214 MB / 482.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1478, allocations: 0.8221 MB / 483.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.779e-05/0.1478, allocations: 16.05 kB / 483.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.148, allocations: 107.4 kB / 483.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.148, allocations: 0 / 483.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.1715, allocations: 5.678 MB / 489.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.686, allocations: 2.656 kB / 489.3 MB, free: 10.05 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_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_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches