Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.001163/0.001163, allocations: 96.38 kB / 16.27 MB, free: 5.961 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.001409/0.001409, allocations: 193.1 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2251/0.2251, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 72.67 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.134, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.004821/0.1389, allocations: 1.951 MB / 442.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1401, allocations: 0.6705 MB / 443.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.434e-05/0.1402, allocations: 0 / 443.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004121/0.1406, allocations: 255.2 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.1409, allocations: 203.2 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007702/0.1417, allocations: 441.7 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.142, allocations: 267.4 kB / 444.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.1422, allocations: 72.69 kB / 444.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1423, allocations: 127.5 kB / 444.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1425, allocations: 195.4 kB / 444.8 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1425, allocations: 12 kB / 444.8 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.1426, allocations: 71.91 kB / 444.9 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1428, allocations: 87.67 kB / 444.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1429, allocations: 115 kB / 445.1 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.1433, allocations: 299 kB / 445.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.847e-05/0.1433, allocations: 3.938 kB / 445.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1433, allocations: 0 / 445.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1433, allocations: 0 / 445.3 MB, free: 2.07 MB / 318.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.0008337/0.1442, allocations: 0.6457 MB / 446 MB, free: 1.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.1442, allocations: 11.89 kB / 446 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.1443, allocations: 46.69 kB / 446.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.071e-05/0.1444, allocations: 36.47 kB / 446.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.1447, allocations: 318.1 kB / 446.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1447, allocations: 8.375 kB / 446.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.1448, allocations: 12.38 kB / 446.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.1451, allocations: 114.5 kB / 446.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.1451, allocations: 0 / 446.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.1451, allocations: 12 kB / 446.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1451, allocations: 0 / 446.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1453, allocations: 67.95 kB / 446.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.1459, allocations: 0.4885 MB / 447.1 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.1461, allocations: 98.42 kB / 447.2 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.151e-05/0.1461, allocations: 32.84 kB / 447.2 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.1462, allocations: 4 kB / 447.2 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.1462, allocations: 38.48 kB / 447.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.1462, allocations: 0 / 447.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009639/0.1472, allocations: 387.9 kB / 447.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.1472, allocations: 51.62 kB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.1478, allocations: 0.5447 MB / 448.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1479, allocations: 29.64 kB / 448.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.148, allocations: 200.4 kB / 448.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.193e-05/0.1481, allocations: 59.11 kB / 448.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/0.1482, allocations: 37.64 kB / 448.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1484, allocations: 354.8 kB / 448.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1485, allocations: 51.97 kB / 449 MB, free: 14.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1486, allocations: 58.09 kB / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.1489, allocations: 120.7 kB / 449.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1489, allocations: 0 / 449.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003424/0.1492, allocations: 190.7 kB / 449.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.1493, allocations: 12 kB / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1493, allocations: 0 / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1493, allocations: 0 / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.1495, allocations: 35.92 kB / 449.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.1495, allocations: 0 / 449.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.1496, allocations: 11.98 kB / 449.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1496, allocations: 4 kB / 449.4 MB, free: 13.81 MB / 334.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.0001957/0.1498, allocations: 181.6 kB / 449.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.1499, allocations: 47.44 kB / 449.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.1504, allocations: 244.3 kB / 449.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1504, allocations: 0 / 449.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1504, allocations: 0 / 449.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1504, allocations: 0 / 449.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008298/0.1513, allocations: 0.627 MB / 450.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1513, allocations: 0 / 450.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.1514, allocations: 27.98 kB / 450.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.1514, allocations: 7.984 kB / 450.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1514, allocations: 0 / 450.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1514, allocations: 3.938 kB / 450.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1514, allocations: 4 kB / 450.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.1518, allocations: 298.9 kB / 450.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.152, allocations: 116.6 kB / 450.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.152, allocations: 7.984 kB / 450.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.55e-05/0.1521, allocations: 11.94 kB / 450.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.1522, allocations: 11.98 kB / 450.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1522, allocations: 4 kB / 451 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004795/0.1527, allocations: 419.1 kB / 451.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1527, allocations: 0 / 451.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.153, allocations: 40 kB / 451.4 MB, free: 11.68 MB / 334.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.002294/0.1553, allocations: 1.427 MB / 452.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.1556, allocations: 139.8 kB / 453 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1557, allocations: 0 / 453 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1558, allocations: 72.22 kB / 453 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.1564, allocations: 87.59 kB / 453.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.16, allocations: 3.054 MB / 456.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.1604, allocations: 0.8025 MB / 457 MB, free: 6.066 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.1605, allocations: 53.91 kB / 457 MB, free: 6.012 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.1606, allocations: 119.4 kB / 457.1 MB, free: 5.895 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1606, allocations: 0 / 457.1 MB, free: 5.895 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.1829, allocations: 7.102 MB / 464.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.573, allocations: 7.922 kB / 464.3 MB, free: 14.73 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches