Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00104/0.001039, allocations: 97.02 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 192.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.7 MB / 246.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.19 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 8 kB / 418.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1609, allocations: 63.57 MB / 482.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002253/0.1632, allocations: 1.31 MB / 483.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009392/0.1641, allocations: 0.5031 MB / 484.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.144e-05/0.1642, allocations: 0 / 484.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.1646, allocations: 107.7 kB / 484.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.1648, allocations: 103.8 kB / 484.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.1652, allocations: 94.95 kB / 484.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.1653, allocations: 79.73 kB / 484.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1654, allocations: 15.98 kB / 484.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.1655, allocations: 31.91 kB / 484.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1656, allocations: 55.81 kB / 484.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1656, allocations: 0 / 484.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.121e-05/0.1657, allocations: 43.97 kB / 484.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.1658, allocations: 19.92 kB / 484.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.1658, allocations: 37.64 kB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.166, allocations: 87.81 kB / 484.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.166, allocations: 0 / 484.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.166, allocations: 0 / 484.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.166, allocations: 0 / 484.9 MB, free: 2.066 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.0005591/0.1666, allocations: 423 kB / 485.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.1667, allocations: 8.031 kB / 485.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.1667, allocations: 15.81 kB / 485.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.167, allocations: 200.5 kB / 485.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.167, allocations: 0 / 485.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.167, allocations: 4 kB / 485.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.1672, allocations: 65.59 kB / 485.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1673, allocations: 0 / 485.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1673, allocations: 0 / 485.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1673, allocations: 4 kB / 485.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1674, allocations: 31.97 kB / 485.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.1678, allocations: 308.7 kB / 485.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.168, allocations: 54.5 kB / 486 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.168, allocations: 20.94 kB / 486 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1681, allocations: 0 / 486 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1681, allocations: 34.56 kB / 486 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1681, allocations: 0 / 486 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009335/0.169, allocations: 281.4 kB / 486.3 MB, free: 484 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1691, allocations: 55.36 kB / 486.4 MB, free: 416 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.1694, allocations: 254.1 kB / 486.6 MB, free: 152 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.1694, allocations: 29.7 kB / 486.6 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.1695, allocations: 116.1 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.1695, allocations: 23.66 kB / 486.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/0.1696, allocations: 7.938 kB / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1697, allocations: 326.8 kB / 487.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.1698, allocations: 35.97 kB / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.439e-05/0.1699, allocations: 35.91 kB / 487.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.17, allocations: 44.2 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.17, allocations: 4 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002266/0.1703, allocations: 113.5 kB / 487.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1703, allocations: 8 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1703, allocations: 0 / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1703, allocations: 0 / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1704, allocations: 23.98 kB / 487.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1705, allocations: 3.781 kB / 487.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.1705, allocations: 11.98 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1705, allocations: 4 kB / 487.4 MB, free: 15.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.1706, allocations: 134.3 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.1707, allocations: 19.8 kB / 487.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.171, allocations: 143 kB / 487.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.171, allocations: 0 / 487.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.171, allocations: 7.938 kB / 487.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.171, allocations: 0 / 487.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.1716, allocations: 435.3 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1716, allocations: 0 / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.467e-05/0.1717, allocations: 23.92 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1717, allocations: 3.953 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1717, allocations: 4 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1717, allocations: 4.031 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1717, allocations: 0 / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.172, allocations: 220.2 kB / 488.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.1721, allocations: 96.92 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.1721, allocations: 7.953 kB / 488.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.1722, allocations: 7.984 kB / 488.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.1722, allocations: 4 kB / 488.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1722, allocations: 4 kB / 488.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.1724, allocations: 188.4 kB / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.375e-06/0.1724, allocations: 0 / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1727, allocations: 27.92 kB / 488.7 MB, free: 13.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/0.1738, allocations: 447 kB / 489.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.174, allocations: 87.94 kB / 489.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1741, allocations: 0 / 489.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.894e-05/0.1742, allocations: 47.91 kB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1745, allocations: 13.59 kB / 489.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.1751, allocations: 322.6 kB / 489.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.1754, allocations: 0.7218 MB / 490.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.831e-05/0.1755, allocations: 20.64 kB / 490.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.1755, allocations: 11.44 kB / 490.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1756, allocations: 3.938 kB / 490.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of Templates: time 0.004384/0.1799, allocations: 1.32 MB / 491.7 MB, free: 11.07 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches