Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",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.00108/0.00108, 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.001097/0.001097, 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.22 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.2138/0.2138, allocations: 44.17 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 69.27 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1328, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003563/0.1364, allocations: 1.627 MB / 471 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1379, allocations: 1.027 MB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.1379, allocations: 0 / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.1382, allocations: 27.8 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1384, allocations: 47.77 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1387, allocations: 138.1 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1389, allocations: 55.84 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.139, allocations: 12.19 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.1391, allocations: 23.92 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.1392, allocations: 27.84 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1393, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1394, allocations: 63.89 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.792e-05/0.1395, allocations: 23.92 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.1395, allocations: 19.88 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1397, allocations: 107.9 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1397, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1398, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1398, allocations: 0 / 472.5 MB, free: 11.08 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006214/0.1404, allocations: 391.3 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1404, allocations: 8.031 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/0.1405, allocations: 30.75 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.1405, allocations: 12.84 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.1408, allocations: 200 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1408, allocations: 4.375 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1408, allocations: 4.125 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.141, allocations: 75.38 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.141, allocations: 0 / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.141, allocations: 7.984 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1411, allocations: 0 / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.1412, allocations: 39.91 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.1416, allocations: 284.8 kB / 473.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1417, allocations: 46.55 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/0.1418, allocations: 24.94 kB / 473.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1418, allocations: 0 / 473.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1419, allocations: 34.56 kB / 473.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.1419, allocations: 0 / 473.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007899/0.1427, allocations: 201.2 kB / 473.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.1427, allocations: 81.05 kB / 474 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.1429, allocations: 146 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1429, allocations: 29.64 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.236e-05/0.143, allocations: 100 kB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.1431, allocations: 19.78 kB / 474.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.1431, allocations: 17.72 kB / 474.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1433, allocations: 326.8 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1434, allocations: 35.97 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1436, allocations: 45.62 kB / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.1438, allocations: 76.84 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1438, allocations: 0 / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002693/0.1441, allocations: 109.5 kB / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1441, allocations: 4 kB / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1441, allocations: 0 / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1441, allocations: 0 / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1443, allocations: 23.98 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.1443, allocations: 11.92 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.1444, allocations: 15.94 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1444, allocations: 0 / 474.9 MB, free: 8.469 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 (7): * Single equations (assignments): 7 * 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.0001128/0.1445, allocations: 117.8 kB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.1446, allocations: 7.906 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.1449, allocations: 134.6 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.145, allocations: 4 kB / 475.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.145, allocations: 3.938 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.145, allocations: 0 / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005602/0.1455, allocations: 378.5 kB / 475.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.1456, allocations: 3.984 kB / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.938e-05/0.1457, allocations: 27.92 kB / 475.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1457, allocations: 3.938 kB / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1457, allocations: 0 / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1457, allocations: 0 / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1457, allocations: 0 / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.1461, allocations: 211.4 kB / 475.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.1461, allocations: 89 kB / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.1462, allocations: 7.938 kB / 475.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.1463, allocations: 4 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.1463, allocations: 11.98 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.1463, allocations: 3.938 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1465, allocations: 114.2 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1465, allocations: 0 / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1468, allocations: 24 kB / 476 MB, free: 7.242 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 (7): * Single equations (assignments): 7 * 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.001767/0.1485, allocations: 1.086 MB / 477.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.1488, allocations: 79.88 kB / 477.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1488, allocations: 0 / 477.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.149, allocations: 40.12 kB / 477.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1493, allocations: 24.12 kB / 477.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.1512, allocations: 1.544 MB / 478.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1516, allocations: 0.6924 MB / 479.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.835e-05/0.1517, allocations: 12.66 kB / 479.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.1518, allocations: 27.42 kB / 479.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1518, allocations: 4 kB / 479.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.1712, allocations: 2.953 MB / 482.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/7.59, allocations: 15.92 kB / 482.5 MB, free: 0.875 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_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_CombiTable2Ds_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches