Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001262/0.001262, allocations: 116.7 kB / 17.33 MB, free: 6.012 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.001373/0.001373, allocations: 189.3 kB / 18.25 MB, free: 5.105 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.483/1.483, 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.2766/0.2766, allocations: 44.18 MB / 336.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 68.58 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1435, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.005132/0.1486, allocations: 2.018 MB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1507, allocations: 1.021 MB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.151, allocations: 4 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.1513, allocations: 23.8 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.1517, allocations: 131.6 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009622/0.1526, allocations: 395.7 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.1529, allocations: 259.1 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.1531, allocations: 52.66 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.1533, allocations: 127.5 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1535, allocations: 175.3 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.1536, allocations: 12 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1537, allocations: 63.97 kB / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1539, allocations: 127.6 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.154, allocations: 166.6 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.1544, allocations: 370.5 kB / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1544, allocations: 8 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1545, allocations: 0 / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1545, allocations: 0 / 473.7 MB, free: 9.688 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.001032/0.1555, allocations: 0.7619 MB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1556, allocations: 8.031 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.1556, allocations: 42.73 kB / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/0.1557, allocations: 56.19 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.1562, allocations: 455.9 kB / 475 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.1562, allocations: 4.375 kB / 475 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.1563, allocations: 19.94 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.1566, allocations: 132.9 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1566, allocations: 0 / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1566, allocations: 4 kB / 475.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1566, allocations: 4 kB / 475.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.1568, allocations: 75.88 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009183/0.1578, allocations: 0.6876 MB / 476 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.158, allocations: 105.2 kB / 476.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.767e-05/0.1581, allocations: 49.81 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1581, allocations: 7.938 kB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1582, allocations: 34.5 kB / 476.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1582, allocations: 0 / 476.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001402/0.1596, allocations: 0.4943 MB / 476.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.1596, allocations: 85.05 kB / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.1607, allocations: 0.874 MB / 477.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1607, allocations: 25.7 kB / 477.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.1609, allocations: 256.2 kB / 477.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.161, allocations: 51.27 kB / 477.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.1611, allocations: 33.7 kB / 478 MB, free: 5.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1613, allocations: 370.7 kB / 478.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.1614, allocations: 63.89 kB / 478.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.1616, allocations: 61.69 kB / 478.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.1619, allocations: 141.6 kB / 478.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1619, allocations: 0 / 478.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000452/0.1624, allocations: 225 kB / 478.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1624, allocations: 4 kB / 478.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1624, allocations: 0 / 478.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1624, allocations: 4 kB / 478.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.1627, allocations: 43.91 kB / 478.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1627, allocations: 4.75 kB / 478.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.1628, allocations: 11.98 kB / 478.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.1628, allocations: 7.938 kB / 478.9 MB, free: 4.254 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 (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.0002073/0.163, allocations: 205.7 kB / 479.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1632, allocations: 51.56 kB / 479.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005412/0.1637, allocations: 277.9 kB / 479.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1637, allocations: 4 kB / 479.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1637, allocations: 0 / 479.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1637, allocations: 0 / 479.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.1648, allocations: 0.7789 MB / 480.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1648, allocations: 0 / 480.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.165, allocations: 39.97 kB / 480.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.165, allocations: 0 / 480.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.165, allocations: 7.984 kB / 480.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.165, allocations: 7.938 kB / 480.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.165, allocations: 0 / 480.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.1656, allocations: 401.9 kB / 480.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.1657, allocations: 144.4 kB / 480.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.1658, allocations: 8 kB / 480.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.166, allocations: 15.92 kB / 480.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.166, allocations: 15.98 kB / 480.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.166, allocations: 7.984 kB / 480.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006344/0.1667, allocations: 0.6355 MB / 481.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1667, allocations: 0 / 481.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.167, allocations: 52 kB / 481.5 MB, free: 1.52 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 (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.001604/0.1686, allocations: 1.234 MB / 482.7 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.1691, allocations: 155.8 kB / 482.9 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1691, allocations: 0 / 482.9 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.1693, allocations: 79.89 kB / 483 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006042/0.1699, allocations: 77.23 kB / 483.1 MB, free: 124 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005892/0.1758, allocations: 5.188 MB / 488.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.1762, allocations: 0.8535 MB / 489.1 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.1764, allocations: 83.22 kB / 489.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.1766, allocations: 163.4 kB / 489.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1766, allocations: 0 / 489.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.1998, allocations: 9.222 MB / 498.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.2001, allocations: 233.9 kB / 498.8 MB, free: 372 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.143, allocations: 0 / 498.8 MB, free: 372 kB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches