Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008709/0.0008712, allocations: 98.02 kB / 17 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 194.6 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.19 MB / 344.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006073/0.0006078, allocations: 8 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1693, allocations: 63.56 MB / 482.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002373/0.1718, allocations: 1.342 MB / 483.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1728, allocations: 0.5147 MB / 484.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.1729, allocations: 4 kB / 484.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.1732, allocations: 87.81 kB / 484.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1735, allocations: 99.69 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1739, allocations: 99.31 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1741, allocations: 87.81 kB / 484.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1742, allocations: 23.97 kB / 484.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.1743, allocations: 27.86 kB / 484.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1744, allocations: 51.81 kB / 484.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1744, allocations: 0 / 484.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1746, allocations: 39.98 kB / 484.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.1746, allocations: 27.84 kB / 484.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.1747, allocations: 41.64 kB / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.1748, allocations: 91.86 kB / 484.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1748, allocations: 0 / 484.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1749, allocations: 0 / 484.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1749, allocations: 0 / 484.9 MB, free: 1.992 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.0005501/0.1754, allocations: 427 kB / 485.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1755, allocations: 8.031 kB / 485.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.1755, allocations: 19.81 kB / 485.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.1757, allocations: 207.3 kB / 485.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1757, allocations: 4 kB / 485.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.1758, allocations: 11.91 kB / 485.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.176, allocations: 73.66 kB / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.176, allocations: 0 / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.176, allocations: 0 / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.176, allocations: 4 kB / 485.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.1761, allocations: 55.95 kB / 485.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.1766, allocations: 352.6 kB / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.1768, allocations: 70.55 kB / 486.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.1769, allocations: 24.84 kB / 486.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1769, allocations: 4 kB / 486.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1769, allocations: 38.5 kB / 486.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1769, allocations: 0 / 486.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001088/0.178, allocations: 369.4 kB / 486.6 MB, free: 192 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1781, allocations: 55.34 kB / 486.6 MB, free: 124 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.1783, allocations: 239.5 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1784, allocations: 25.7 kB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.1784, allocations: 108.1 kB / 487 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.1785, allocations: 51.23 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.1785, allocations: 4 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1786, allocations: 330.8 kB / 487.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.1787, allocations: 47.97 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.1788, allocations: 47.97 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.179, allocations: 55.98 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.179, allocations: 0 / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002689/0.1793, allocations: 169.1 kB / 487.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1793, allocations: 4 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1793, allocations: 7.938 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1793, allocations: 0 / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1794, allocations: 31.98 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1795, allocations: 0 / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.1795, allocations: 8 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1795, allocations: 4 kB / 487.7 MB, free: 14.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.1796, allocations: 137.8 kB / 487.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.1797, allocations: 15.81 kB / 487.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.1801, allocations: 191.1 kB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1801, allocations: 0 / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1801, allocations: 4 kB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1801, allocations: 0 / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/0.1808, allocations: 0.5146 MB / 488.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1808, allocations: 0 / 488.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/0.1809, allocations: 27.98 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1809, allocations: 8.016 kB / 488.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1809, allocations: 8 kB / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.181, allocations: 3.984 kB / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.181, allocations: 0 / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1813, allocations: 268.1 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.1814, allocations: 92.91 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.1814, allocations: 4 kB / 489 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1815, allocations: 8 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.1815, allocations: 7.984 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.1816, allocations: 4 kB / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.1817, allocations: 181.2 kB / 489.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1817, allocations: 0 / 489.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.182, allocations: 32 kB / 489.2 MB, free: 13.38 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 (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.00111/0.1831, allocations: 451.6 kB / 489.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.1834, allocations: 123.9 kB / 489.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1834, allocations: 0 / 489.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1836, allocations: 63.91 kB / 489.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1839, allocations: 24.12 kB / 489.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.1846, allocations: 359.3 kB / 490.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.185, allocations: 0.7238 MB / 490.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.746e-05/0.1851, allocations: 24.53 kB / 491 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.1851, allocations: 19.44 kB / 491 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1851, allocations: 0 / 491 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Templates: time 0.004372/0.1895, allocations: 1.501 MB / 492.5 MB, free: 10.22 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches