Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001782/0.001782, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002192/0.002193, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.099/2.099, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3545/0.3545, allocations: 46.1 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 85.52 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1667, allocations: 62.44 MB / 479.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.004429/0.1712, allocations: 1.777 MB / 481.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003203/0.1745, allocations: 1.612 MB / 483.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1746, allocations: 4 kB / 483.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.175, allocations: 31.84 kB / 483.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.1755, allocations: 83.73 kB / 483.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1758, allocations: 63.81 kB / 483.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.176, allocations: 103.6 kB / 483.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.1762, allocations: 11.98 kB / 483.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1763, allocations: 47.77 kB / 483.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1766, allocations: 43.83 kB / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.1766, allocations: 4 kB / 483.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.1769, allocations: 99.88 kB / 483.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.177, allocations: 19.92 kB / 483.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.1771, allocations: 27.8 kB / 483.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.1774, allocations: 132 kB / 484 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1774, allocations: 0 / 484 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1775, allocations: 3.938 kB / 484 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1775, allocations: 0 / 484 MB, free: 1.66 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009654/0.1784, allocations: 427.1 kB / 484.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.1785, allocations: 12.88 kB / 484.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.445e-05/0.1786, allocations: 8.844 kB / 484.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.179, allocations: 208 kB / 484.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.179, allocations: 7.938 kB / 484.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.1791, allocations: 0 / 484.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1793, allocations: 75.33 kB / 484.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1793, allocations: 0 / 484.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.1794, allocations: 7.984 kB / 484.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1794, allocations: 4 kB / 484.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1795, allocations: 19.98 kB / 484.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.1802, allocations: 284.9 kB / 485 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.1805, allocations: 62.61 kB / 485.1 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.879e-05/0.1806, allocations: 20.86 kB / 485.1 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.1806, allocations: 4 kB / 485.1 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003133/0.181, allocations: 63.39 kB / 485.2 MB, free: 320 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.181, allocations: 0 / 485.2 MB, free: 320 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007834/0.1818, allocations: 173.1 kB / 485.3 MB, free: 140 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.1819, allocations: 81.05 kB / 485.4 MB, free: 40 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1822, allocations: 170.5 kB / 485.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1822, allocations: 25.7 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.1823, allocations: 100.1 kB / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.1824, allocations: 23.64 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.1824, allocations: 25.72 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002665/0.1827, allocations: 322.8 kB / 486.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.838e-05/0.1828, allocations: 19.98 kB / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1829, allocations: 54.44 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1831, allocations: 53.7 kB / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1831, allocations: 0 / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002895/0.1834, allocations: 105.5 kB / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1835, allocations: 4 kB / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1835, allocations: 0 / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.1835, allocations: 4 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1837, allocations: 23.98 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.1837, allocations: 3.938 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.1838, allocations: 4 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1838, allocations: 4 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001475/0.1839, allocations: 121.8 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.184, allocations: 11.81 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.1841, allocations: 16.86 kB / 486.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1841, allocations: 4 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.1841, allocations: 4.312 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1841, allocations: 4 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.1847, allocations: 395.3 kB / 486.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1848, allocations: 4 kB / 486.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.1848, allocations: 11.94 kB / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.1848, allocations: 7.969 kB / 486.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.1849, allocations: 8 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1849, allocations: 0 / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1849, allocations: 0 / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.1853, allocations: 200.3 kB / 487.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.1854, allocations: 92.95 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.1854, allocations: 3.984 kB / 487.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.1855, allocations: 4 kB / 487.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.1856, allocations: 4 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.1856, allocations: 15.98 kB / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.1858, allocations: 122.5 kB / 487.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1858, allocations: 0 / 487.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005069/0.1863, allocations: 48 kB / 487.4 MB, free: 13.89 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001934/0.1883, allocations: 0.5366 MB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.1886, allocations: 67.89 kB / 488 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1886, allocations: 0 / 488 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1887, allocations: 27.98 kB / 488 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.1893, allocations: 27.92 kB / 488.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.1899, allocations: 254.3 kB / 488.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.1904, allocations: 0.7004 MB / 489 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.1905, allocations: 23.42 kB / 489 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1905, allocations: 0 / 489 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Templates: time 0.006543/0.197, allocations: 2.396 MB / 491.4 MB, free: 9.996 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches