Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 76.97 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1669, allocations: 62.46 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003766/0.1707, allocations: 1.738 MB / 481.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1717, allocations: 0.569 MB / 481.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.1718, allocations: 4 kB / 481.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.1725, allocations: 463.1 kB / 482.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000461/0.1729, allocations: 279.5 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.1734, allocations: 175 kB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.1737, allocations: 175.7 kB / 482.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.1739, allocations: 20.22 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.174, allocations: 119.6 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.1743, allocations: 227.6 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1743, allocations: 4 kB / 483.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1744, allocations: 51.91 kB / 483.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1746, allocations: 87.67 kB / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.852e-05/0.1746, allocations: 106.9 kB / 483.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.175, allocations: 279 kB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.175, allocations: 0 / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.175, allocations: 4 kB / 483.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.175, allocations: 0 / 483.8 MB, free: 1.324 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008018/0.1758, allocations: 0.6532 MB / 484.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1759, allocations: 12.03 kB / 484.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.1759, allocations: 48.38 kB / 484.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.1762, allocations: 296.1 kB / 484.8 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1763, allocations: 8.375 kB / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.1763, allocations: 4.375 kB / 484.8 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.1765, allocations: 69.73 kB / 484.8 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1765, allocations: 4 kB / 484.8 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1765, allocations: 4 kB / 484.8 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1765, allocations: 0 / 484.8 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.1767, allocations: 39.95 kB / 484.9 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/0.1773, allocations: 428.6 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.1776, allocations: 58.48 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/0.1777, allocations: 28.95 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1777, allocations: 4 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.1778, allocations: 34.56 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1778, allocations: 4 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001789/0.1796, allocations: 499.5 kB / 485.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.1797, allocations: 59.28 kB / 486 MB, free: 14.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.1807, allocations: 0.8575 MB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.1808, allocations: 29.7 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.181, allocations: 227.9 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.1811, allocations: 31.55 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.1811, allocations: 21.72 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.1814, allocations: 366.8 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.1816, allocations: 55.95 kB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1817, allocations: 47.97 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.182, allocations: 128.8 kB / 487.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.182, allocations: 0.5625 kB / 487.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004816/0.1825, allocations: 204.9 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.1826, allocations: 4 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.1826, allocations: 4 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.1826, allocations: 0 / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1827, allocations: 31.91 kB / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1828, allocations: 4 kB / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.1828, allocations: 11.98 kB / 488 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.1829, allocations: 4 kB / 488 MB, free: 12.86 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 (11): * Single equations (assignments): 11 * 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.000241/0.1831, allocations: 213.8 kB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.1832, allocations: 43.44 kB / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.1837, allocations: 237.2 kB / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1837, allocations: 7.938 kB / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1837, allocations: 0 / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1837, allocations: 3.984 kB / 488.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009241/0.1847, allocations: 0.5975 MB / 489.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.1847, allocations: 3.984 kB / 489.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.1848, allocations: 31.97 kB / 489.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1848, allocations: 0 / 489.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1848, allocations: 0 / 489.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.1848, allocations: 4 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1848, allocations: 4.062 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.1853, allocations: 305 kB / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1854, allocations: 116.6 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.1854, allocations: 11.88 kB / 489.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1855, allocations: 11.98 kB / 489.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.1856, allocations: 11.98 kB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.1856, allocations: 4 kB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005918/0.1862, allocations: 0.6472 MB / 490.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1862, allocations: 0 / 490.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000291/0.1865, allocations: 39.98 kB / 490.2 MB, free: 10.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00123/0.1877, allocations: 454.8 kB / 490.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004431/0.1882, allocations: 139.8 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.1882, allocations: 4 kB / 490.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.1884, allocations: 67.89 kB / 490.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.1889, allocations: 30.23 kB / 490.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1903, allocations: 0.9731 MB / 491.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.1908, allocations: 0.8376 MB / 492.7 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1909, allocations: 40.52 kB / 492.8 MB, free: 8.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1911, allocations: 15.44 kB / 492.8 MB, free: 8.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.222e-06/0.1911, allocations: 0 / 492.8 MB, free: 8.02 MB / 366.1 MB Notification: Performance of Templates: time 0.005674/0.1968, allocations: 1.872 MB / 494.7 MB, free: 6.156 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches