Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 108.8 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.001086/0.001086, 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.478/1.478, allocations: 227.4 MB / 246.3 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2465/0.2465, allocations: 46.11 MB / 343.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002887/0.002887, allocations: 81.11 kB / 416.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1647, allocations: 62.45 MB / 479.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003911/0.1687, allocations: 1.674 MB / 481.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1699, allocations: 0.5301 MB / 481.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.17, allocations: 0 / 481.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.1703, allocations: 95.73 kB / 481.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.1707, allocations: 95.77 kB / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.171, allocations: 83.84 kB / 481.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1712, allocations: 79.75 kB / 481.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1714, allocations: 15.98 kB / 482 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.1715, allocations: 31.91 kB / 482 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1716, allocations: 67.69 kB / 482.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1716, allocations: 0 / 482.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1717, allocations: 43.98 kB / 482.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.1718, allocations: 23.86 kB / 482.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.1719, allocations: 35.73 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1721, allocations: 99.97 kB / 482.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1721, allocations: 4 kB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1721, allocations: 0 / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1722, allocations: 3.938 kB / 482.3 MB, free: 2.676 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.0005751/0.1727, allocations: 422.9 kB / 482.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1728, allocations: 8.875 kB / 482.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.1728, allocations: 30.75 kB / 482.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.1729, allocations: 20.73 kB / 482.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.1731, allocations: 200.6 kB / 482.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1731, allocations: 384 / 482.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1732, allocations: 8.375 kB / 482.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1733, allocations: 57.59 kB / 483 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1733, allocations: 0 / 483 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1734, allocations: 0 / 483 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.1734, allocations: 8 kB / 483 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1735, allocations: 19.98 kB / 483 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.1739, allocations: 304.7 kB / 483.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.174, allocations: 42.56 kB / 483.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.1741, allocations: 20.94 kB / 483.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.1741, allocations: 4 kB / 483.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1742, allocations: 34.56 kB / 483.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1742, allocations: 0 / 483.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009357/0.1751, allocations: 228.9 kB / 483.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.1752, allocations: 51.41 kB / 483.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1754, allocations: 242.5 kB / 483.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1754, allocations: 25.7 kB / 484 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.1755, allocations: 108.1 kB / 484.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.1755, allocations: 31.62 kB / 484.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.1756, allocations: 21.7 kB / 484.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1757, allocations: 330.8 kB / 484.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.1758, allocations: 23.98 kB / 484.5 MB, free: 260 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.1759, allocations: 19.98 kB / 484.5 MB, free: 240 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1761, allocations: 60.83 kB / 484.5 MB, free: 176 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1761, allocations: 0 / 484.5 MB, free: 176 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002139/0.1763, allocations: 105.5 kB / 484.6 MB, free: 64 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1763, allocations: 8 kB / 484.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1763, allocations: 0 / 484.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1763, allocations: 3.938 kB / 484.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1765, allocations: 19.98 kB / 484.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1765, allocations: 3.938 kB / 484.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.1765, allocations: 4 kB / 484.7 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.1765, allocations: 0 / 484.7 MB, free: 24 kB / 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.0001206/0.1767, allocations: 129.8 kB / 484.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.1767, allocations: 19.81 kB / 484.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.177, allocations: 123 kB / 484.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.177, allocations: 4.422 kB / 484.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.177, allocations: 3.938 kB / 484.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.177, allocations: 0 / 484.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.1776, allocations: 419.6 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1776, allocations: 0 / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.1777, allocations: 27.92 kB / 485.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.1777, allocations: 3.984 kB / 485.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1777, allocations: 0 / 485.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1777, allocations: 4 kB / 485.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1777, allocations: 0 / 485.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.178, allocations: 208.3 kB / 485.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.178, allocations: 92.86 kB / 485.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1781, allocations: 0 / 485.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.1781, allocations: 8 kB / 485.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.1782, allocations: 11.92 kB / 485.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1782, allocations: 0 / 485.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.1783, allocations: 180.3 kB / 485.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1784, allocations: 4 kB / 485.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1786, allocations: 24 kB / 485.9 MB, free: 14.68 MB / 366.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.001535/0.1802, allocations: 1.077 MB / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.1804, allocations: 59.95 kB / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1804, allocations: 0 / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.1805, allocations: 47.91 kB / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.181, allocations: 15.98 kB / 487.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.183, allocations: 1.733 MB / 488.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1833, allocations: 0.7101 MB / 489.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6e-05/0.1833, allocations: 20.95 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.1834, allocations: 35.42 kB / 489.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1834, allocations: 96 / 489.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.1979, allocations: 2.938 MB / 492.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.1982, allocations: 230.4 kB / 492.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.129, allocations: 3.938 kB / 492.8 MB, free: 7.891 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches