Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001159/0.001159, allocations: 101.4 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.001186/0.001186, allocations: 190.1 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.625/1.625, 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.2199/0.2199, allocations: 43.51 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.002546/0.002546, allocations: 69.17 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1331, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003106/0.1362, allocations: 2.017 MB / 442.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1376, allocations: 1.085 MB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.813e-05/0.1378, allocations: 0 / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.138, allocations: 55.53 kB / 443.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1384, allocations: 159.3 kB / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009739/0.1393, allocations: 0.5552 MB / 444.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000341/0.1397, allocations: 303.1 kB / 444.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.1399, allocations: 68.7 kB / 444.9 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1401, allocations: 139.4 kB / 445 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1403, allocations: 191.3 kB / 445.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.1404, allocations: 19.94 kB / 445.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1405, allocations: 39.97 kB / 445.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.1406, allocations: 143.6 kB / 445.4 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1408, allocations: 178.6 kB / 445.6 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.1411, allocations: 402.4 kB / 445.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1412, allocations: 0 / 445.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1412, allocations: 0 / 445.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1412, allocations: 0 / 445.9 MB, free: 1.473 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.001028/0.1422, allocations: 0.7968 MB / 446.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.1423, allocations: 15.89 kB / 446.8 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.1423, allocations: 42.75 kB / 446.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.1424, allocations: 56.19 kB / 446.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.143, allocations: 463.8 kB / 447.3 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.143, allocations: 8.375 kB / 447.3 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.454e-05/0.1431, allocations: 15.98 kB / 447.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.1434, allocations: 165.2 kB / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1435, allocations: 0 / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.1435, allocations: 11.98 kB / 447.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1435, allocations: 3.938 kB / 447.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.1438, allocations: 115.9 kB / 447.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1448, allocations: 0.7229 MB / 448.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.1451, allocations: 133.2 kB / 448.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.1453, allocations: 69.8 kB / 448.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.1453, allocations: 4 kB / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1454, allocations: 38.44 kB / 448.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.1454, allocations: 0 / 448.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002117/0.1475, allocations: 0.7398 MB / 449.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.1476, allocations: 81.11 kB / 449.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.1486, allocations: 0.8829 MB / 450.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.1487, allocations: 33.7 kB / 450.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.1489, allocations: 260.5 kB / 450.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.149, allocations: 67 kB / 450.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.1491, allocations: 41.58 kB / 450.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1493, allocations: 382.7 kB / 451.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.1496, allocations: 111.9 kB / 451.2 MB, free: 12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.1498, allocations: 126.8 kB / 451.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/0.1504, allocations: 257.6 kB / 451.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1504, allocations: 0.75 kB / 451.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007211/0.1511, allocations: 336.8 kB / 451.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1512, allocations: 8 kB / 451.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1512, allocations: 0 / 451.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1512, allocations: 0 / 451.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.1515, allocations: 55.89 kB / 451.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1515, allocations: 3.984 kB / 451.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.1517, allocations: 27.98 kB / 452 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.1518, allocations: 11.98 kB / 452 MB, free: 11.17 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.0002134/0.152, allocations: 221.6 kB / 452.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.1521, allocations: 59.25 kB / 452.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008565/0.153, allocations: 390.2 kB / 452.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.153, allocations: 4 kB / 452.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.153, allocations: 0 / 452.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.153, allocations: 3.984 kB / 452.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.1545, allocations: 0.9583 MB / 453.6 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1545, allocations: 4 kB / 453.6 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.1548, allocations: 51.95 kB / 453.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.1548, allocations: 3.984 kB / 453.7 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.1548, allocations: 11.98 kB / 453.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1548, allocations: 3.938 kB / 453.7 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1548, allocations: 7.938 kB / 453.7 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/0.1557, allocations: 0.5048 MB / 454.2 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.1558, allocations: 148.4 kB / 454.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.1559, allocations: 8 kB / 454.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.1562, allocations: 23.92 kB / 454.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.1563, allocations: 15.97 kB / 454.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.1563, allocations: 15.92 kB / 454.4 MB, free: 8.641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007806/0.1571, allocations: 0.6474 MB / 455 MB, free: 8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1571, allocations: 4 kB / 455 MB, free: 7.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003854/0.1575, allocations: 67.98 kB / 455.1 MB, free: 7.93 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.00187/0.1594, allocations: 1.342 MB / 456.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.1601, allocations: 279.6 kB / 456.7 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.1601, allocations: 4 kB / 456.7 MB, free: 6.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.1604, allocations: 139.8 kB / 456.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007256/0.1612, allocations: 83.56 kB / 456.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007212/0.1684, allocations: 5.536 MB / 462.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.1689, allocations: 0.8769 MB / 463.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.1692, allocations: 111.2 kB / 463.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.1695, allocations: 175.4 kB / 463.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1695, allocations: 0 / 463.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.201, allocations: 10.11 MB / 473.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.691, allocations: 11.2 kB / 473.8 MB, free: 5.16 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches