Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",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.001114/0.001114, allocations: 107 kB / 17.33 MB, free: 6 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.00113/0.00113, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.433/1.433, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2512/0.2512, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 69.03 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1527, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.004046/0.1567, allocations: 1.699 MB / 470.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.158, allocations: 459.1 kB / 471 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1581, allocations: 0 / 471 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.1589, allocations: 451.2 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005451/0.1595, allocations: 247.6 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006086/0.1601, allocations: 159.5 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.1605, allocations: 175.6 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1606, allocations: 19.97 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.1609, allocations: 107.8 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.1612, allocations: 235.5 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.1612, allocations: 4 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1614, allocations: 47.98 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.1615, allocations: 87.62 kB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1616, allocations: 107 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.162, allocations: 275.2 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.162, allocations: 0 / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.162, allocations: 0 / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.1621, allocations: 8 kB / 472.8 MB, free: 10.59 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.0008949/0.163, allocations: 0.6492 MB / 473.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.163, allocations: 12.03 kB / 473.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.1631, allocations: 34.75 kB / 473.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.057e-05/0.1632, allocations: 44.38 kB / 473.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.1635, allocations: 304.1 kB / 473.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.1635, allocations: 384 / 473.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.1635, allocations: 8.375 kB / 473.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.1637, allocations: 69.61 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1638, allocations: 0 / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1638, allocations: 4 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1638, allocations: 0 / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1639, allocations: 47.89 kB / 474 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.1646, allocations: 428.5 kB / 474.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1649, allocations: 58.58 kB / 474.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.474e-05/0.165, allocations: 24.97 kB / 474.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.165, allocations: 4 kB / 474.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.165, allocations: 30.56 kB / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1651, allocations: 4 kB / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001579/0.1666, allocations: 0.4916 MB / 475 MB, free: 8.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.1667, allocations: 55.41 kB / 475.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008154/0.1675, allocations: 0.8575 MB / 476 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1675, allocations: 25.7 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.1677, allocations: 220.1 kB / 476.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.1678, allocations: 35.45 kB / 476.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.1678, allocations: 25.72 kB / 476.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.168, allocations: 362.8 kB / 476.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1681, allocations: 51.97 kB / 476.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1682, allocations: 55.89 kB / 476.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.1685, allocations: 132.7 kB / 476.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1685, allocations: 0 / 476.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003579/0.1689, allocations: 197.3 kB / 477 MB, free: 6.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1689, allocations: 4 kB / 477 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1689, allocations: 0 / 477 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.169, allocations: 7.938 kB / 477 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1691, allocations: 27.92 kB / 477.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1691, allocations: 4.562 kB / 477.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.1692, allocations: 7.984 kB / 477.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1692, allocations: 4 kB / 477.1 MB, free: 6.105 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 (11): * Single equations (assignments): 11 * 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.0001963/0.1694, allocations: 217.8 kB / 477.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.1695, allocations: 43.44 kB / 477.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.1699, allocations: 233.3 kB / 477.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1699, allocations: 11.88 kB / 477.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1699, allocations: 0 / 477.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.17, allocations: 0 / 477.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007945/0.1708, allocations: 0.5975 MB / 478.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1708, allocations: 0 / 478.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.1709, allocations: 31.91 kB / 478.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1709, allocations: 4 kB / 478.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1709, allocations: 4.094 kB / 478.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1709, allocations: 3.938 kB / 478.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1709, allocations: 4 kB / 478.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.1713, allocations: 312.5 kB / 478.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/0.1714, allocations: 108.6 kB / 478.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.1715, allocations: 0 / 478.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1716, allocations: 19.98 kB / 478.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.1716, allocations: 7.984 kB / 478.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1717, allocations: 4 kB / 478.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005998/0.1723, allocations: 0.6511 MB / 479.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1723, allocations: 0 / 479.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1726, allocations: 39.89 kB / 479.4 MB, free: 3.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001676/0.1742, allocations: 1.186 MB / 480.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.1746, allocations: 127.9 kB / 480.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1746, allocations: 0 / 480.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1748, allocations: 72.02 kB / 480.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.1752, allocations: 33.58 kB / 480.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.1795, allocations: 3.634 MB / 484.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.18, allocations: 0.8338 MB / 485.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1801, allocations: 32.52 kB / 485.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.1803, allocations: 127.4 kB / 485.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1803, allocations: 0 / 485.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.1969, allocations: 6.328 MB / 491.7 MB, free: 7.473 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.1972, allocations: 240 kB / 492 MB, free: 7.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.063, allocations: 0 / 492 MB, free: 7.211 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches