Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.001502/0.001502, allocations: 102.6 kB / 16.27 MB, free: 5.93 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.001398/0.001398, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.555/1.555, 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.2147/0.2147, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001852/0.001853, allocations: 65.28 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1241, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.002941/0.1271, allocations: 2.009 MB / 442.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1284, allocations: 0.9949 MB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1286, allocations: 4 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.1288, allocations: 47.58 kB / 443.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.1292, allocations: 151.3 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.1299, allocations: 401.9 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.1301, allocations: 275.1 kB / 444.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1303, allocations: 68.69 kB / 444.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1304, allocations: 127.5 kB / 444.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1306, allocations: 187.3 kB / 444.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.1307, allocations: 16 kB / 444.9 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.1307, allocations: 47.98 kB / 444.9 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1309, allocations: 139.5 kB / 445.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.131, allocations: 174.6 kB / 445.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1312, allocations: 378.5 kB / 445.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1313, allocations: 4 kB / 445.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1313, allocations: 0 / 445.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1313, allocations: 0 / 445.6 MB, free: 1.801 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007907/0.1321, allocations: 0.7852 MB / 446.4 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1321, allocations: 19.83 kB / 446.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.1322, allocations: 42.73 kB / 446.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.1322, allocations: 56.19 kB / 446.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.1326, allocations: 467.7 kB / 447 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1327, allocations: 4.375 kB / 447 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.1327, allocations: 11.94 kB / 447 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.1329, allocations: 141.4 kB / 447.1 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.133, allocations: 0 / 447.1 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.133, allocations: 7.984 kB / 447.1 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.133, allocations: 7.938 kB / 447.1 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.1332, allocations: 103.9 kB / 447.2 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008597/0.1341, allocations: 0.6878 MB / 447.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.1344, allocations: 113.2 kB / 448 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1345, allocations: 65.73 kB / 448.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1346, allocations: 7.984 kB / 448.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1346, allocations: 42.5 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1346, allocations: 0 / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001893/0.1365, allocations: 0.658 MB / 448.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.1366, allocations: 85.05 kB / 448.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008527/0.1375, allocations: 0.8778 MB / 449.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1375, allocations: 33.7 kB / 449.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.1377, allocations: 252.4 kB / 450 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/0.1377, allocations: 74.92 kB / 450.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.1378, allocations: 33.7 kB / 450.1 MB, free: 13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.138, allocations: 378.7 kB / 450.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.1382, allocations: 87.89 kB / 450.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.1385, allocations: 114.8 kB / 450.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.139, allocations: 213.9 kB / 450.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.139, allocations: 0 / 450.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006448/0.1397, allocations: 304.7 kB / 451.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1397, allocations: 4 kB / 451.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1397, allocations: 0 / 451.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1397, allocations: 4.75 kB / 451.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.14, allocations: 51.95 kB / 451.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.14, allocations: 0 / 451.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1402, allocations: 27.97 kB / 451.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.1403, allocations: 4 kB / 451.3 MB, free: 11.81 MB / 334.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.000195/0.1405, allocations: 217.6 kB / 451.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1406, allocations: 55.25 kB / 451.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007937/0.1414, allocations: 358.2 kB / 451.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1414, allocations: 0 / 451.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1414, allocations: 0 / 451.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1414, allocations: 8 kB / 451.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.1427, allocations: 0.8839 MB / 452.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1428, allocations: 0 / 452.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.143, allocations: 55.89 kB / 452.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.143, allocations: 4 kB / 452.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.143, allocations: 3.984 kB / 452.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.1431, allocations: 7.938 kB / 452.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1431, allocations: 0 / 452.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/0.1438, allocations: 473.1 kB / 453.4 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.1439, allocations: 156.3 kB / 453.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.144, allocations: 0 / 453.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.1442, allocations: 35.84 kB / 453.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.1443, allocations: 19.97 kB / 453.6 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1443, allocations: 8 kB / 453.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000687/0.145, allocations: 0.6354 MB / 454.2 MB, free: 8.812 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.145, allocations: 0 / 454.2 MB, free: 8.812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000354/0.1454, allocations: 60 kB / 454.3 MB, free: 8.754 MB / 334.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.001899/0.1473, allocations: 1.311 MB / 455.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007095/0.148, allocations: 239.6 kB / 455.8 MB, free: 7.262 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.148, allocations: 0 / 455.8 MB, free: 7.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.1483, allocations: 120.4 kB / 455.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009454/0.1493, allocations: 91.39 kB / 456 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/0.1567, allocations: 5.336 MB / 461.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.1573, allocations: 0.8575 MB / 462.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.1575, allocations: 83.22 kB / 462.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.1578, allocations: 175.4 kB / 462.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1578, allocations: 0 / 462.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.1875, allocations: 9.821 MB / 472.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.644, allocations: 7.984 kB / 472.3 MB, free: 6.625 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches