Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",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.001207/0.001207, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001204/0.001204, allocations: 191.7 kB / 17.2 MB, free: 5.613 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.528/1.528, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2239/0.2239, allocations: 43.52 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.002905/0.002905, allocations: 69.86 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.147, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.00418/0.1513, allocations: 1.943 MB / 442.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1525, allocations: 0.9677 MB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.1526, allocations: 8 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.1528, allocations: 43.64 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.1531, allocations: 151.3 kB / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.1538, allocations: 390.3 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.154, allocations: 247.3 kB / 444.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1541, allocations: 56.36 kB / 444.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.1543, allocations: 119.5 kB / 444.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.1545, allocations: 179.3 kB / 444.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.1546, allocations: 12 kB / 444.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.533e-05/0.1547, allocations: 43.98 kB / 444.8 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.1548, allocations: 131.6 kB / 444.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.1549, allocations: 162.7 kB / 445 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.1553, allocations: 362.5 kB / 445.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1553, allocations: 0 / 445.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.1553, allocations: 0 / 445.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1553, allocations: 7.938 kB / 445.4 MB, free: 1.996 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.0009093/0.1562, allocations: 0.7541 MB / 446.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.1563, allocations: 15.89 kB / 446.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.1563, allocations: 42.62 kB / 446.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.164e-05/0.1564, allocations: 52.28 kB / 446.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.157, allocations: 451.9 kB / 446.7 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.157, allocations: 8.375 kB / 446.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.157, allocations: 15.84 kB / 446.7 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.1573, allocations: 137.3 kB / 446.9 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1573, allocations: 0 / 446.9 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1573, allocations: 3.984 kB / 446.9 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1573, allocations: 4 kB / 446.9 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1575, allocations: 75.95 kB / 447 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000868/0.1584, allocations: 0.6762 MB / 447.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1586, allocations: 109.2 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1587, allocations: 45.83 kB / 447.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1587, allocations: 3.938 kB / 447.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.1588, allocations: 46.48 kB / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.1588, allocations: 0 / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001433/0.1602, allocations: 0.5023 MB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.1603, allocations: 81.09 kB / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.1614, allocations: 0.8701 MB / 449.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1614, allocations: 33.7 kB / 449.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.1616, allocations: 248.2 kB / 449.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.1617, allocations: 51.2 kB / 449.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.1618, allocations: 33.7 kB / 449.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.162, allocations: 378.7 kB / 450 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1622, allocations: 51.97 kB / 450.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.1624, allocations: 73.67 kB / 450.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.1627, allocations: 137.6 kB / 450.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1627, allocations: 0 / 450.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004739/0.1632, allocations: 217 kB / 450.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1632, allocations: 4 kB / 450.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1632, allocations: 3.984 kB / 450.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.1633, allocations: 4 kB / 450.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.1635, allocations: 43.91 kB / 450.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1635, allocations: 0 / 450.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.1636, allocations: 19.89 kB / 450.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1637, allocations: 4 kB / 450.6 MB, free: 12.57 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 (16): * Single equations (assignments): 16 * 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.0002392/0.1639, allocations: 213.7 kB / 450.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.164, allocations: 51.34 kB / 450.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005941/0.1646, allocations: 266.3 kB / 451.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.1646, allocations: 0 / 451.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1647, allocations: 0 / 451.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1647, allocations: 7.984 kB / 451.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.1658, allocations: 0.7824 MB / 451.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1658, allocations: 4.312 kB / 451.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.166, allocations: 35.97 kB / 451.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.166, allocations: 4 kB / 451.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.166, allocations: 8 kB / 451.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.166, allocations: 3.938 kB / 451.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.166, allocations: 4 kB / 451.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.1665, allocations: 393.5 kB / 452.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.1667, allocations: 152.4 kB / 452.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.1667, allocations: 4 kB / 452.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.1671, allocations: 23.92 kB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.1671, allocations: 7.984 kB / 452.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1672, allocations: 8 kB / 452.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006469/0.1678, allocations: 0.6393 MB / 453.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1678, allocations: 0 / 453.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000343/0.1682, allocations: 52 kB / 453.2 MB, free: 9.832 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 (16): * Single equations (assignments): 16 * 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.001682/0.1699, allocations: 1.225 MB / 454.4 MB, free: 8.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000437/0.1703, allocations: 151.8 kB / 454.6 MB, free: 8.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1703, allocations: 0 / 454.6 MB, free: 8.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.1705, allocations: 87.81 kB / 454.6 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006467/0.1712, allocations: 86.84 kB / 454.7 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.1771, allocations: 5.09 MB / 459.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.1775, allocations: 0.8536 MB / 460.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.1777, allocations: 75.86 kB / 460.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.1779, allocations: 163.4 kB / 460.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of SimCode: time 9.71e-07/0.1779, allocations: 4 kB / 460.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.2071, allocations: 9.353 MB / 470.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.727, allocations: 11.64 kB / 470.3 MB, free: 8.645 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches