Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",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.001202/0.001202, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.00104/0.00104, allocations: 194 kB / 18.12 MB, free: 5.383 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.44/1.44, allocations: 222.9 MB / 241.8 MB, free: 15.46 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.2419/0.2419, allocations: 44.19 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 69.12 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1501, allocations: 60.84 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.004238/0.1544, allocations: 1.891 MB / 470.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1562, allocations: 0.8184 MB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.1564, allocations: 0 / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000541/0.157, allocations: 239.5 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.1575, allocations: 175.5 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1587, allocations: 445.5 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004722/0.1592, allocations: 251.2 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.1594, allocations: 40.38 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.1596, allocations: 103.6 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.1599, allocations: 179.4 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.1599, allocations: 11.94 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.1601, allocations: 39.98 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1603, allocations: 79.73 kB / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1604, allocations: 107 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.1608, allocations: 259.3 kB / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1608, allocations: 0 / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1608, allocations: 0 / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.423e-06/0.1608, allocations: 0 / 473.2 MB, free: 10.14 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009186/0.1618, allocations: 0.6224 MB / 473.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1618, allocations: 8.031 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.134e-05/0.1619, allocations: 38.75 kB / 473.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.433e-05/0.162, allocations: 36.47 kB / 473.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.1623, allocations: 310.2 kB / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1624, allocations: 8.375 kB / 474.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.1624, allocations: 8.359 kB / 474.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1626, allocations: 77.61 kB / 474.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1626, allocations: 0 / 474.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1626, allocations: 4 kB / 474.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1626, allocations: 4 kB / 474.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1628, allocations: 51.97 kB / 474.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.1633, allocations: 444.3 kB / 474.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.1635, allocations: 58.5 kB / 474.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.454e-05/0.1636, allocations: 28.97 kB / 474.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.1636, allocations: 7.984 kB / 474.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1636, allocations: 38.5 kB / 475 MB, free: 8.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1636, allocations: 0 / 475 MB, free: 8.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003312/0.164, allocations: 121.3 kB / 475.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.164, allocations: 59.34 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005584/0.1646, allocations: 0.5486 MB / 475.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1646, allocations: 25.7 kB / 475.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1648, allocations: 200.1 kB / 475.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.1648, allocations: 11.81 kB / 475.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.1648, allocations: 25.7 kB / 475.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.165, allocations: 346.8 kB / 476.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.1651, allocations: 19.98 kB / 476.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.794e-05/0.1651, allocations: 23.92 kB / 476.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.1652, allocations: 45.22 kB / 476.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1652, allocations: 0 / 476.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001837/0.1654, allocations: 117.2 kB / 476.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1654, allocations: 10.5 kB / 476.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1655, allocations: 0 / 476.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1655, allocations: 3.938 kB / 476.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.1656, allocations: 15.92 kB / 476.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1656, allocations: 0 / 476.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.972e-05/0.1656, allocations: 11.94 kB / 476.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1657, allocations: 7.984 kB / 476.5 MB, free: 6.609 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 (6): * Single equations (assignments): 6 * 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.0001556/0.1658, allocations: 169.8 kB / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.1659, allocations: 31.53 kB / 476.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1662, allocations: 124.9 kB / 476.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1662, allocations: 3.938 kB / 476.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1662, allocations: 0 / 476.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1662, allocations: 0 / 476.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.1665, allocations: 285.5 kB / 477.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1665, allocations: 0 / 477.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.1665, allocations: 19.92 kB / 477.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1666, allocations: 0 / 477.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1666, allocations: 0 / 477.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1666, allocations: 3.938 kB / 477.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1666, allocations: 0 / 477.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.1668, allocations: 207.2 kB / 477.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/0.1669, allocations: 120.6 kB / 477.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.167, allocations: 0 / 477.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.1671, allocations: 8.125 kB / 477.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.1671, allocations: 0 / 477.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.1671, allocations: 8 kB / 477.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004077/0.1675, allocations: 411.1 kB / 477.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1675, allocations: 7.938 kB / 477.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1678, allocations: 27.94 kB / 477.9 MB, free: 5.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.001893/0.1697, allocations: 1.237 MB / 479.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.1699, allocations: 47.92 kB / 479.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1699, allocations: 0 / 479.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.247e-05/0.17, allocations: 27.98 kB / 479.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.1706, allocations: 72.89 kB / 479.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.174, allocations: 2.812 MB / 482.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.1744, allocations: 0.7868 MB / 482.9 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.1746, allocations: 45.48 kB / 483 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.1747, allocations: 99.39 kB / 483 MB, free: 128 kB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1747, allocations: 0 / 483 MB, free: 128 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.1935, allocations: 6.124 MB / 489.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.1937, allocations: 237.3 kB / 489.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.137, allocations: 0 / 489.4 MB, free: 9.855 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches