Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.001411, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2437/0.2437, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002216, allocations: 76.03 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1657, allocations: 62.45 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003723/0.1695, allocations: 1.653 MB / 481.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1707, allocations: 0.5571 MB / 482.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.1708, allocations: 4 kB / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.1711, allocations: 91.67 kB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.1715, allocations: 119.5 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.1719, allocations: 111.4 kB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.1721, allocations: 95.75 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1723, allocations: 39.97 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.1724, allocations: 35.84 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1725, allocations: 63.81 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.1726, allocations: 4 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1727, allocations: 51.98 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.1728, allocations: 35.89 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.1728, allocations: 43.62 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.173, allocations: 131.8 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1731, allocations: 4 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1731, allocations: 0 / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1731, allocations: 0 / 483.1 MB, free: 2.172 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006177/0.1737, allocations: 426.8 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1737, allocations: 8.031 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.1738, allocations: 12.84 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.174, allocations: 216 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1741, allocations: 8.312 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.1741, allocations: 8.375 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1743, allocations: 73.78 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1743, allocations: 4 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1743, allocations: 0 / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1743, allocations: 0 / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.1745, allocations: 39.97 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.175, allocations: 352.6 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.1751, allocations: 74.53 kB / 484.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.1752, allocations: 20.84 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1752, allocations: 4 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1753, allocations: 34.56 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1753, allocations: 0 / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001153/0.1764, allocations: 340.8 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.1765, allocations: 63.39 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.1768, allocations: 239.5 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.1769, allocations: 33.7 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.177, allocations: 112 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.1771, allocations: 47.3 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.1771, allocations: 25.72 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1773, allocations: 330.8 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1774, allocations: 47.97 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1775, allocations: 43.97 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.1778, allocations: 108.4 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1778, allocations: 0 / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002968/0.1781, allocations: 161.4 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1781, allocations: 6.344 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1782, allocations: 0 / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.1782, allocations: 11.92 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1783, allocations: 23.98 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.1783, allocations: 4 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.1784, allocations: 3.984 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1784, allocations: 8.703 kB / 486 MB, free: 15.12 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 (13): * Single equations (assignments): 13 * 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.0001508/0.1786, allocations: 137.8 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1786, allocations: 11.91 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004392/0.1791, allocations: 195 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1791, allocations: 4 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1791, allocations: 3.984 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1791, allocations: 0 / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009631/0.1801, allocations: 0.499 MB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1801, allocations: 0 / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-05/0.1802, allocations: 27.98 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1802, allocations: 0 / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1802, allocations: 4 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1802, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.1802, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.1806, allocations: 260.1 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.1807, allocations: 88.92 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.1808, allocations: 4 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.1808, allocations: 8 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1809, allocations: 7.984 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1809, allocations: 4 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.1811, allocations: 181.2 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1811, allocations: 4 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1814, allocations: 28 kB / 487.4 MB, free: 13.55 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 (13): * Single equations (assignments): 13 * 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.001818/0.1832, allocations: 447.3 kB / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.1836, allocations: 123.8 kB / 488 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1836, allocations: 0 / 488 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.1837, allocations: 63.91 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.1842, allocations: 26.61 kB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.1848, allocations: 331.7 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.1853, allocations: 0.7274 MB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1854, allocations: 32.52 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.1855, allocations: 19.44 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1855, allocations: 3.938 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Templates: time 0.005561/0.1911, allocations: 1.607 MB / 490.8 MB, free: 10.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches