Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.00123, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 77.06 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1486, allocations: 62.45 MB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003115/0.1517, allocations: 1.684 MB / 481.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009455/0.1527, allocations: 0.5417 MB / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.1528, allocations: 0 / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005645/0.1533, allocations: 447.2 kB / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.1538, allocations: 287.4 kB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.1542, allocations: 111.2 kB / 482.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.1545, allocations: 159.7 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1546, allocations: 19.92 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1548, allocations: 103.8 kB / 482.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.1551, allocations: 203.6 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.1551, allocations: 7.938 kB / 482.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.775e-05/0.1552, allocations: 20 kB / 482.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1553, allocations: 79.69 kB / 483 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.194e-05/0.1554, allocations: 103 kB / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1557, allocations: 243 kB / 483.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1558, allocations: 0 / 483.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1558, allocations: 0 / 483.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1558, allocations: 0 / 483.4 MB, free: 1.652 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008437/0.1566, allocations: 0.6494 MB / 484 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1567, allocations: 8.875 kB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1567, allocations: 46.73 kB / 484.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.1568, allocations: 44.38 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1571, allocations: 300.1 kB / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1571, allocations: 384 / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1571, allocations: 4.375 kB / 484.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1573, allocations: 57.61 kB / 484.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1573, allocations: 0 / 484.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1573, allocations: 0 / 484.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1574, allocations: 0 / 484.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.1575, allocations: 39.91 kB / 484.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.158, allocations: 376.8 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1581, allocations: 38.56 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.1582, allocations: 24.94 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1583, allocations: 4 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1583, allocations: 30.56 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.1583, allocations: 3.938 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003412/0.1586, allocations: 121.1 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1587, allocations: 55.41 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008408/0.1596, allocations: 0.8699 MB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1596, allocations: 33.64 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1598, allocations: 216 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1598, allocations: 11.8 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.1598, allocations: 17.72 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.16, allocations: 358.7 kB / 486.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.1601, allocations: 15.98 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/0.1601, allocations: 15.98 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1603, allocations: 48.77 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1603, allocations: 0 / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001974/0.1605, allocations: 101.5 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1605, allocations: 4 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1605, allocations: 48 / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1606, allocations: 3.984 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.1606, allocations: 11.94 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1607, allocations: 4 kB / 486.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.1607, allocations: 11.89 kB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1607, allocations: 0 / 486.8 MB, free: 13.93 MB / 366.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 (3): * Single equations (assignments): 3 * 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.0001965/0.1609, allocations: 217.7 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.161, allocations: 39.53 kB / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.1613, allocations: 121 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1613, allocations: 0 / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1613, allocations: 4 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1613, allocations: 0 / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.1616, allocations: 297.5 kB / 487.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1616, allocations: 0 / 487.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.1617, allocations: 8 kB / 487.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1617, allocations: 3.984 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1617, allocations: 4 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1617, allocations: 0 / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1617, allocations: 0 / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.1619, allocations: 210.8 kB / 487.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.1621, allocations: 116.5 kB / 487.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.1621, allocations: 0 / 487.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.1622, allocations: 4 kB / 487.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.1622, allocations: 3.984 kB / 487.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1622, allocations: 4 kB / 487.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000613/0.1628, allocations: 0.6511 MB / 488.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1629, allocations: 4 kB / 488.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1631, allocations: 19.98 kB / 488.5 MB, free: 12.14 MB / 366.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 (3): * Single equations (assignments): 3 * 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.001246/0.1644, allocations: 0.9783 MB / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1646, allocations: 43.95 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1646, allocations: 0 / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.054e-05/0.1646, allocations: 15.98 kB / 489.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.1651, allocations: 32.95 kB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.1688, allocations: 3.265 MB / 492.9 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.1693, allocations: 0.8185 MB / 493.7 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.954e-05/0.1694, allocations: 12.06 kB / 493.7 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.1696, allocations: 115.3 kB / 493.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1696, allocations: 0 / 493.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.1874, allocations: 5.495 MB / 499.3 MB, free: 1.406 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.1877, allocations: 242.7 kB / 499.5 MB, free: 1.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.193, allocations: 0 / 499.5 MB, free: 1.148 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches