Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000901/0.0009011, allocations: 97.97 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009733/0.0009735, allocations: 200.5 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2543/0.2543, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 11.98 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1597, allocations: 63.55 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002398/0.1621, allocations: 1.334 MB / 484.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1633, allocations: 0.5262 MB / 484.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.1634, allocations: 4 kB / 484.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.1638, allocations: 111.8 kB / 485.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.164, allocations: 119.7 kB / 485.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1643, allocations: 83.47 kB / 485.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1645, allocations: 83.86 kB / 485.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1646, allocations: 15.98 kB / 485.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.1647, allocations: 43.78 kB / 485.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.1649, allocations: 83.78 kB / 485.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1649, allocations: 0 / 485.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-05/0.165, allocations: 47.97 kB / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.1651, allocations: 27.86 kB / 485.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.1652, allocations: 57.39 kB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1654, allocations: 111.6 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1654, allocations: 4 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1654, allocations: 0 / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1654, allocations: 0 / 485.7 MB, free: 1.5 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.0005228/0.1659, allocations: 426.6 kB / 486.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.166, allocations: 8.875 kB / 486.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.166, allocations: 12.84 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1663, allocations: 211.9 kB / 486.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1663, allocations: 384 / 486.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1663, allocations: 4.375 kB / 486.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1665, allocations: 57.8 kB / 486.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1665, allocations: 4 kB / 486.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1665, allocations: 0 / 486.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1666, allocations: 7.938 kB / 486.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1667, allocations: 31.91 kB / 486.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.1671, allocations: 304.8 kB / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1672, allocations: 54.5 kB / 486.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.612e-05/0.1673, allocations: 20.94 kB / 486.8 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1673, allocations: 3.938 kB / 486.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1673, allocations: 30.56 kB / 486.9 MB, free: 192 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.805e-06/0.1673, allocations: 7.984 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001059/0.1684, allocations: 256.9 kB / 487.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.1685, allocations: 59.39 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.1688, allocations: 275.7 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.1688, allocations: 25.7 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.1689, allocations: 116.1 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.169, allocations: 35.67 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.169, allocations: 17.72 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002829/0.1693, allocations: 322.8 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.1694, allocations: 27.98 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.1695, allocations: 27.98 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.1697, allocations: 80.98 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1697, allocations: 0 / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000252/0.1699, allocations: 109.5 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.17, allocations: 12 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.17, allocations: 0 / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.17, allocations: 0 / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1702, allocations: 19.98 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1702, allocations: 0 / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.1702, allocations: 7.938 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1703, allocations: 7.984 kB / 488.2 MB, free: 14.74 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 (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.0001607/0.1704, allocations: 141.8 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.1705, allocations: 11.81 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.1708, allocations: 135 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1708, allocations: 0 / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1708, allocations: 4 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.1709, allocations: 7.938 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.1715, allocations: 423.3 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1715, allocations: 0 / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/0.1716, allocations: 24.02 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.1716, allocations: 3.938 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1716, allocations: 7.938 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.1716, allocations: 3.984 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1716, allocations: 0 / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.1719, allocations: 216.2 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.172, allocations: 100.8 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.172, allocations: 4 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.1721, allocations: 7.984 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.1721, allocations: 8 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1722, allocations: 0 / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.1724, allocations: 209.5 kB / 489.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1724, allocations: 4 kB / 489.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1726, allocations: 24 kB / 489.6 MB, free: 13.32 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.001348/0.174, allocations: 456.7 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.1743, allocations: 71.95 kB / 490.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1743, allocations: 0 / 490.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/0.1744, allocations: 39.92 kB / 490.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.1748, allocations: 27.98 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000753/0.1755, allocations: 347.4 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.176, allocations: 0.7213 MB / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.105e-05/0.1761, allocations: 12.67 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.1761, allocations: 19.44 kB / 491.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1761, allocations: 0 / 491.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of Templates: time 0.004634/0.1808, allocations: 1.307 MB / 492.5 MB, free: 10.45 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches