Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2593/0.2593, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 73.77 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1508, allocations: 62.46 MB / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.00427/0.1551, allocations: 1.705 MB / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.1574, allocations: 1.179 MB / 482.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.844e-05/0.1575, allocations: 4 kB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.1578, allocations: 23.84 kB / 482.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.1582, allocations: 63.83 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.1588, allocations: 167.1 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.159, allocations: 83.75 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1591, allocations: 12 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.828e-05/0.1592, allocations: 27.86 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.1594, allocations: 39.83 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1594, allocations: 0 / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.1597, allocations: 95.88 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.1598, allocations: 27.91 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.1598, allocations: 31.8 kB / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.1602, allocations: 151.8 kB / 483 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1602, allocations: 0 / 483 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1602, allocations: 0 / 483 MB, free: 2.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1603, allocations: 0 / 483 MB, free: 2.012 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007433/0.161, allocations: 419.2 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.575e-05/0.1611, allocations: 8.875 kB / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.754e-05/0.1612, allocations: 38.73 kB / 483.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/0.1612, allocations: 16.78 kB / 483.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.1616, allocations: 196.1 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1616, allocations: 384 / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.1617, allocations: 8.375 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.1619, allocations: 79.31 kB / 483.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1619, allocations: 0 / 483.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1619, allocations: 3.938 kB / 483.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1619, allocations: 0 / 483.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.1621, allocations: 51.91 kB / 483.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.1626, allocations: 312.8 kB / 484.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.1628, allocations: 42.55 kB / 484.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.591e-05/0.1629, allocations: 28.94 kB / 484.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.1629, allocations: 11.94 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.163, allocations: 30.56 kB / 484.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.163, allocations: 0 / 484.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009065/0.1639, allocations: 233.1 kB / 484.4 MB, free: 388 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.164, allocations: 81.11 kB / 484.5 MB, free: 288 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.1641, allocations: 159.9 kB / 484.7 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1642, allocations: 25.7 kB / 484.7 MB, free: 88 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.1643, allocations: 96.19 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1643, allocations: 23.66 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.1644, allocations: 17.8 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1645, allocations: 326.8 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1647, allocations: 35.95 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1648, allocations: 53.67 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.165, allocations: 92.83 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.1651, allocations: 0 / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003021/0.1654, allocations: 125.8 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1654, allocations: 4 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1654, allocations: 0 / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1654, allocations: 0 / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1656, allocations: 23.98 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1656, allocations: 4 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.152e-05/0.1657, allocations: 27.75 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1657, allocations: 0 / 485.5 MB, free: 15.24 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 (7): * Single equations (assignments): 7 * 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.0001087/0.1658, allocations: 117.8 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.1659, allocations: 11.89 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000378/0.1662, allocations: 146.6 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1663, allocations: 0 / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1663, allocations: 0 / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1663, allocations: 3.938 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.1669, allocations: 422.4 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1669, allocations: 3.938 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.167, allocations: 23.97 kB / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.167, allocations: 4 kB / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.167, allocations: 3.938 kB / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.167, allocations: 0 / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.167, allocations: 0 / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.1674, allocations: 223.4 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.1675, allocations: 93 kB / 486.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.1675, allocations: 3.938 kB / 486.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1676, allocations: 11.98 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.1677, allocations: 4 kB / 486.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1677, allocations: 8 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1678, allocations: 119.2 kB / 486.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1678, allocations: 4 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.1682, allocations: 35.98 kB / 486.7 MB, free: 13.92 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 (7): * Single equations (assignments): 7 * 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.001894/0.1701, allocations: 1.142 MB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.1704, allocations: 95.81 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1704, allocations: 0 / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.1706, allocations: 47.95 kB / 488 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.171, allocations: 19.98 kB / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.1735, allocations: 1.668 MB / 489.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1739, allocations: 0.7087 MB / 490.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.174, allocations: 20.73 kB / 490.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.1741, allocations: 31.41 kB / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1741, allocations: 0 / 490.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.1911, allocations: 3.334 MB / 493.8 MB, free: 6.98 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.1914, allocations: 236.2 kB / 494 MB, free: 6.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.158, allocations: 0 / 494 MB, free: 6.727 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches