Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009735/0.0009732, allocations: 92.45 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 202.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.8 MB / 246.8 MB, free: 11.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.00031, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1584, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002282/0.1608, allocations: 1.314 MB / 484.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1626, allocations: 1.128 MB / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.1627, allocations: 3.938 kB / 485.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.1629, allocations: 27.91 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.1632, allocations: 67.77 kB / 485.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.1636, allocations: 95.83 kB / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1637, allocations: 63.88 kB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1638, allocations: 11.94 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.693e-05/0.1639, allocations: 23.86 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.1641, allocations: 27.84 kB / 485.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1641, allocations: 4 kB / 485.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.1643, allocations: 91.88 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.1644, allocations: 7.984 kB / 485.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.1644, allocations: 53.52 kB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1647, allocations: 131.7 kB / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1647, allocations: 0 / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1647, allocations: 0 / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1647, allocations: 0 / 486.1 MB, free: 1.078 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.0005245/0.1652, allocations: 395.5 kB / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1653, allocations: 12.81 kB / 486.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.1653, allocations: 8.844 kB / 486.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.1656, allocations: 192.2 kB / 486.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1656, allocations: 4.375 kB / 486.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1656, allocations: 4.375 kB / 486.7 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1658, allocations: 67.53 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1658, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1658, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1658, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.166, allocations: 39.91 kB / 486.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.1664, allocations: 288.8 kB / 487.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.1666, allocations: 46.56 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.1667, allocations: 20.94 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1668, allocations: 0 / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1668, allocations: 42.5 kB / 487.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1668, allocations: 0 / 487.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006542/0.1675, allocations: 165.3 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.1675, allocations: 81.05 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1677, allocations: 148.1 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1677, allocations: 33.7 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.1678, allocations: 96.03 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.1678, allocations: 19.75 kB / 487.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.1679, allocations: 9.719 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.168, allocations: 326.8 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.1681, allocations: 23.98 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-05/0.1682, allocations: 45.69 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1683, allocations: 56.83 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1684, allocations: 0 / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002136/0.1686, allocations: 101.5 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1686, allocations: 4 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1686, allocations: 4 kB / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1686, allocations: 0 / 488.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.1687, allocations: 12 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.1687, allocations: 3.984 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.1688, allocations: 4 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1688, allocations: 11.94 kB / 488.3 MB, free: 14.62 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 (5): * Single equations (assignments): 5 * 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 9.695e-05/0.1689, allocations: 117.8 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.1689, allocations: 3.906 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.1692, allocations: 113.9 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1692, allocations: 4 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1692, allocations: 0 / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1692, allocations: 0 / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.1697, allocations: 363.1 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1697, allocations: 8.062 kB / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.1698, allocations: 15.98 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.1698, allocations: 4 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1698, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1698, allocations: 3.938 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1698, allocations: 3.984 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1701, allocations: 199.4 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1702, allocations: 85 kB / 489.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1702, allocations: 8 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.1703, allocations: 7.938 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.1703, allocations: 3.984 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1704, allocations: 4 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.349e-05/0.1705, allocations: 113.1 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.1705, allocations: 0 / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1708, allocations: 47.92 kB / 489.4 MB, free: 13.43 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 (5): * Single equations (assignments): 5 * 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.001213/0.172, allocations: 494.9 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.1722, allocations: 59.91 kB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1722, allocations: 0 / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.438e-05/0.1723, allocations: 39.97 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1727, allocations: 14.75 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.1731, allocations: 200.7 kB / 490.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1734, allocations: 0.6887 MB / 490.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.661e-05/0.1735, allocations: 28.16 kB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.1735, allocations: 15.42 kB / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1736, allocations: 0 / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Templates: time 0.004583/0.1781, allocations: 1.711 MB / 492.7 MB, free: 10.31 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches