Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_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.001053/0.001053, allocations: 116.7 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.001078/0.001078, allocations: 193.3 kB / 18.25 MB, free: 5.094 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.466/1.466, allocations: 222.9 MB / 241.9 MB, free: 13.68 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.2759/0.2759, allocations: 44.18 MB / 336.2 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 54.97 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1519, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.005218/0.1572, allocations: 2.092 MB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.1597, allocations: 1.139 MB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.16, allocations: 4 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004212/0.1604, allocations: 39.7 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006347/0.1611, allocations: 143.5 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.163, allocations: 0.5663 MB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007815/0.1638, allocations: 306.9 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.1642, allocations: 84.66 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.1645, allocations: 131.5 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.165, allocations: 203.2 kB / 473.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.728e-05/0.1651, allocations: 12 kB / 473.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.1654, allocations: 59.98 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.1656, allocations: 147.5 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.1659, allocations: 170.6 kB / 473.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005952/0.1665, allocations: 402.4 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1665, allocations: 0 / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.97e-06/0.1665, allocations: 0 / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.1666, allocations: 7.938 kB / 474.3 MB, free: 9.117 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001414/0.168, allocations: 0.7969 MB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.168, allocations: 8.031 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.077e-05/0.1681, allocations: 42.75 kB / 475.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1683, allocations: 60.19 kB / 475.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.169, allocations: 471.6 kB / 475.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.169, allocations: 8.375 kB / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.169, allocations: 15.94 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.1694, allocations: 164.9 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1694, allocations: 3.906 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.1695, allocations: 4 kB / 475.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.1695, allocations: 4 kB / 475.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.1698, allocations: 111.9 kB / 476 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.171, allocations: 0.7152 MB / 476.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.1713, allocations: 141.2 kB / 476.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.1715, allocations: 65.8 kB / 476.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.1715, allocations: 0 / 476.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1715, allocations: 42.5 kB / 476.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1715, allocations: 7.938 kB / 476.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002145/0.1737, allocations: 0.7438 MB / 477.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.1738, allocations: 81.11 kB / 477.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.1748, allocations: 0.8906 MB / 478.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.1748, allocations: 25.7 kB / 478.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.175, allocations: 256.4 kB / 478.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.983e-05/0.1751, allocations: 66.95 kB / 479 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.1752, allocations: 49.69 kB / 479 MB, free: 4.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1754, allocations: 374.7 kB / 479.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.1757, allocations: 103.9 kB / 479.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.176, allocations: 137.6 kB / 479.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.1765, allocations: 237.6 kB / 479.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1766, allocations: 3.938 kB / 479.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007383/0.1773, allocations: 348.8 kB / 480.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1773, allocations: 4 kB / 480.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1773, allocations: 0 / 480.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1774, allocations: 4 kB / 480.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.1777, allocations: 55.88 kB / 480.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1777, allocations: 8 kB / 480.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.1779, allocations: 19.98 kB / 480.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.1779, allocations: 7.984 kB / 480.3 MB, free: 2.82 MB / 350.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.0002228/0.1781, allocations: 217.7 kB / 480.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.1783, allocations: 59.23 kB / 480.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000843/0.1791, allocations: 402.8 kB / 481 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1791, allocations: 0 / 481 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1791, allocations: 4 kB / 481 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1791, allocations: 0 / 481 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.1806, allocations: 0.9545 MB / 481.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1806, allocations: 4 kB / 481.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.1808, allocations: 55.95 kB / 482 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1809, allocations: 0 / 482 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.1809, allocations: 11.98 kB / 482 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/0.1809, allocations: 3.938 kB / 482 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1809, allocations: 3.938 kB / 482 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007864/0.1817, allocations: 0.5057 MB / 482.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.1819, allocations: 156.3 kB / 482.7 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.1819, allocations: 4 kB / 482.7 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.1822, allocations: 23.92 kB / 482.7 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.1823, allocations: 19.97 kB / 482.7 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1823, allocations: 7.984 kB / 482.7 MB, free: 304 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007789/0.1831, allocations: 0.6591 MB / 483.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1831, allocations: 0 / 483.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003999/0.1835, allocations: 60 kB / 483.4 MB, free: 15.59 MB / 366.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.00202/0.1855, allocations: 1.343 MB / 484.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007003/0.1862, allocations: 279.6 kB / 485.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1863, allocations: 0 / 485.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.1866, allocations: 143.8 kB / 485.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000702/0.1873, allocations: 85.92 kB / 485.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007766/0.1951, allocations: 5.641 MB / 490.9 MB, free: 8.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.1956, allocations: 0.8692 MB / 491.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002692/0.1959, allocations: 103.2 kB / 491.9 MB, free: 7.148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.1962, allocations: 179.4 kB / 492.1 MB, free: 6.973 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1962, allocations: 0 / 492.1 MB, free: 6.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.2221, allocations: 9.91 MB / 0.4902 GB, free: 13.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.2224, allocations: 240.2 kB / 0.4904 GB, free: 12.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.227, allocations: 0 / 0.4904 GB, free: 12.93 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches