Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001582/0.001582, 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.001666/0.001666, 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.359/1.359, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.1972/0.1972, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 67.41 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1525, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.004684/0.1572, allocations: 1.631 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1585, allocations: 447.1 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.1586, allocations: 4 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.1594, allocations: 455.1 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004978/0.1599, allocations: 251.4 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007196/0.1607, allocations: 174.6 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.161, allocations: 171.6 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1612, allocations: 16 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.1614, allocations: 115.8 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.1617, allocations: 207.6 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.1618, allocations: 4 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.162, allocations: 51.92 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.1621, allocations: 91.61 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.1622, allocations: 99 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.1627, allocations: 275.2 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1627, allocations: 7.938 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1627, allocations: 0 / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1627, allocations: 0 / 473.3 MB, free: 10.31 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009986/0.1637, allocations: 0.6375 MB / 473.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.1638, allocations: 12.03 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.1639, allocations: 38.69 kB / 474 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.553e-05/0.164, allocations: 44.38 kB / 474 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.1644, allocations: 300.2 kB / 474.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1644, allocations: 8.375 kB / 474.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.1644, allocations: 12.28 kB / 474.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1647, allocations: 61.61 kB / 474.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1647, allocations: 3.984 kB / 474.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1647, allocations: 0 / 474.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1647, allocations: 3.984 kB / 474.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.1649, allocations: 35.92 kB / 474.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/0.1657, allocations: 412.6 kB / 474.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1658, allocations: 50.59 kB / 474.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.338e-05/0.1659, allocations: 20.94 kB / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.166, allocations: 0 / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.166, allocations: 30.56 kB / 475 MB, free: 8.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.166, allocations: 0 / 475 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001427/0.1675, allocations: 319.9 kB / 475.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.1675, allocations: 55.34 kB / 475.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.1689, allocations: 0.8691 MB / 476.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1689, allocations: 25.7 kB / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.1692, allocations: 232 kB / 476.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.1693, allocations: 27.64 kB / 476.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.1694, allocations: 21.72 kB / 476.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1696, allocations: 358.8 kB / 476.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.1697, allocations: 31.97 kB / 476.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1699, allocations: 35.92 kB / 476.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.1701, allocations: 76.81 kB / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1702, allocations: 0 / 477 MB, free: 6.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004173/0.1706, allocations: 145.1 kB / 477.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1706, allocations: 4 kB / 477.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1706, allocations: 0 / 477.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1707, allocations: 3.938 kB / 477.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.1708, allocations: 27.86 kB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1708, allocations: 0 / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.171, allocations: 8 kB / 477.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.171, allocations: 3.938 kB / 477.2 MB, free: 6.203 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 (8): * Single equations (assignments): 8 * 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.0003024/0.1713, allocations: 221.8 kB / 477.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.1714, allocations: 39.44 kB / 477.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/0.172, allocations: 173.8 kB / 477.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.172, allocations: 3.938 kB / 477.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.172, allocations: 4 kB / 477.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.172, allocations: 0 / 477.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.173, allocations: 0.5188 MB / 478.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.1731, allocations: 8 kB / 478.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1732, allocations: 15.94 kB / 478.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1732, allocations: 0 / 478.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.1733, allocations: 12.02 kB / 478.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1733, allocations: 0 / 478.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1733, allocations: 0 / 478.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.1738, allocations: 248.2 kB / 478.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1739, allocations: 116.5 kB / 478.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.174, allocations: 4 kB / 478.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1742, allocations: 8 kB / 478.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.1742, allocations: 11.92 kB / 478.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.1743, allocations: 3.984 kB / 478.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000968/0.1752, allocations: 0.655 MB / 479.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1752, allocations: 0 / 479.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000489/0.1757, allocations: 27.98 kB / 479.2 MB, free: 4.035 MB / 350.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 (8): * Single equations (assignments): 8 * 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.002459/0.1782, allocations: 1.134 MB / 480.4 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.1787, allocations: 83.89 kB / 480.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1787, allocations: 0 / 480.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.1789, allocations: 47.91 kB / 480.5 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000664/0.1796, allocations: 26.3 kB / 480.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/0.1844, allocations: 3.398 MB / 483.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.1848, allocations: 0.8298 MB / 484.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.606e-05/0.1849, allocations: 28.41 kB / 484.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.1851, allocations: 115.5 kB / 484.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1851, allocations: 3.938 kB / 484.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.2097, allocations: 6.231 MB / 491.1 MB, free: 8.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.85, allocations: 9.094 kB / 491.1 MB, free: 8.254 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches