Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",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.00154/0.00154, 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.001707/0.001707, 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.451/1.451, allocations: 222.9 MB / 241.8 MB, free: 13.65 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.236/0.236, allocations: 44.18 MB / 336.1 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 64.88 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1523, allocations: 60.82 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003997/0.1563, allocations: 1.696 MB / 470.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009549/0.1573, allocations: 423.2 kB / 470.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.491e-05/0.1574, allocations: 0 / 470.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.1581, allocations: 455.2 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.1585, allocations: 243.5 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.159, allocations: 114.8 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000314/0.1593, allocations: 163.7 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.1594, allocations: 19.98 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.1596, allocations: 107.7 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.1599, allocations: 199.6 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.16, allocations: 4 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1601, allocations: 43.98 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1602, allocations: 87.61 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1604, allocations: 107 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.1607, allocations: 259.2 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1608, allocations: 0 / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1608, allocations: 4 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.1608, allocations: 4 kB / 472.5 MB, free: 10.81 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.0009635/0.1618, allocations: 0.6415 MB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/0.1618, allocations: 12.03 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.1619, allocations: 30.75 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.648e-05/0.162, allocations: 40.47 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.1624, allocations: 304.1 kB / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1624, allocations: 8.375 kB / 473.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1624, allocations: 4.359 kB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.1626, allocations: 61.62 kB / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1627, allocations: 0 / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1627, allocations: 0 / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1627, allocations: 4 kB / 473.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1628, allocations: 35.91 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.1635, allocations: 396.6 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1636, allocations: 50.53 kB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.1636, allocations: 20.94 kB / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1637, allocations: 0 / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1637, allocations: 38.56 kB / 474.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1637, allocations: 0 / 474.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001066/0.1648, allocations: 295.8 kB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.1649, allocations: 55.34 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009689/0.1658, allocations: 0.8691 MB / 475.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1659, allocations: 25.7 kB / 475.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.166, allocations: 228 kB / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.1661, allocations: 31.53 kB / 475.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.1661, allocations: 25.72 kB / 475.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1663, allocations: 358.8 kB / 476 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.1664, allocations: 27.98 kB / 476 MB, free: 7.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.1665, allocations: 27.98 kB / 476.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1666, allocations: 60.83 kB / 476.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1667, allocations: 0 / 476.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002542/0.1669, allocations: 137.1 kB / 476.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1669, allocations: 4 kB / 476.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.167, allocations: 0 / 476.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.167, allocations: 0 / 476.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1671, allocations: 27.86 kB / 476.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1671, allocations: 0 / 476.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.1672, allocations: 7.984 kB / 476.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1672, allocations: 0 / 476.3 MB, free: 6.793 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.0002033/0.1674, allocations: 213.8 kB / 476.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.1675, allocations: 43.53 kB / 476.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.1678, allocations: 165.3 kB / 476.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1678, allocations: 3.938 kB / 476.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1678, allocations: 0 / 476.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1678, allocations: 0 / 476.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.1685, allocations: 0.4953 MB / 477.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1685, allocations: 0 / 477.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.1686, allocations: 23.92 kB / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1686, allocations: 0 / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1686, allocations: 4.422 kB / 477.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1686, allocations: 0 / 477.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1686, allocations: 4 kB / 477.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.1689, allocations: 252.1 kB / 477.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.169, allocations: 116.5 kB / 477.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.169, allocations: 4 kB / 477.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.1691, allocations: 7.984 kB / 477.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.1692, allocations: 23.8 kB / 477.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1692, allocations: 4 kB / 477.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006757/0.1699, allocations: 0.6511 MB / 478.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1699, allocations: 0 / 478.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.1702, allocations: 23.98 kB / 478.3 MB, free: 4.66 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.001744/0.1719, allocations: 1.11 MB / 479.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1722, allocations: 67.91 kB / 479.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1722, allocations: 0 / 479.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.1723, allocations: 39.91 kB / 479.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.1728, allocations: 21.97 kB / 479.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.1774, allocations: 3.406 MB / 482.9 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.1781, allocations: 0.8262 MB / 483.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.251e-05/0.1782, allocations: 16.81 kB / 483.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.1783, allocations: 115.3 kB / 483.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1784, allocations: 0 / 483.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.2012, allocations: 5.98 MB / 489.9 MB, free: 9.223 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/0.2015, allocations: 232.3 kB / 490.1 MB, free: 8.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.071, allocations: 3.938 kB / 490.1 MB, free: 8.961 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches