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.001622/0.001622, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001673/0.001673, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2343/0.2343, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 81.34 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.174, allocations: 62.45 MB / 479.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003662/0.1778, allocations: 1.781 MB / 481.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.1804, allocations: 1.608 MB / 482.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.84e-05/0.1805, allocations: 4 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.1809, allocations: 31.84 kB / 482.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.1813, allocations: 83.73 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.1815, allocations: 55.89 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.1817, allocations: 107.6 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1818, allocations: 11.98 kB / 483 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1819, allocations: 47.78 kB / 483 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1821, allocations: 43.03 kB / 483.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1821, allocations: 4 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.1823, allocations: 103.9 kB / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.1824, allocations: 19.92 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.1825, allocations: 27.81 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1828, allocations: 171.8 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1828, allocations: 0 / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1828, allocations: 0 / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1828, allocations: 0 / 483.4 MB, free: 1.613 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.0006841/0.1835, allocations: 431 kB / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1835, allocations: 12.88 kB / 483.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.1836, allocations: 8.844 kB / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1839, allocations: 208.7 kB / 484 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1839, allocations: 3.938 kB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.1839, allocations: 0 / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1841, allocations: 75.33 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1841, allocations: 0 / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1842, allocations: 7.984 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1842, allocations: 4 kB / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.1843, allocations: 19.98 kB / 484.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1847, allocations: 280.9 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.1849, allocations: 58.61 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.185, allocations: 24.86 kB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.185, allocations: 4 kB / 484.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.1852, allocations: 63.39 kB / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1853, allocations: 0 / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006725/0.1859, allocations: 181.1 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.1861, allocations: 88.98 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.1863, allocations: 166.5 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1863, allocations: 25.7 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.1864, allocations: 96.12 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.1864, allocations: 27.64 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.1865, allocations: 25.72 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1866, allocations: 322.8 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.1867, allocations: 23.92 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.154e-05/0.1868, allocations: 46.56 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1869, allocations: 53.66 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1869, allocations: 4 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.1871, allocations: 101.5 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1872, allocations: 6.656 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1872, allocations: 0 / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1872, allocations: 4 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.1873, allocations: 20.05 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1873, allocations: 3.938 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.1874, allocations: 4 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1874, allocations: 0 / 485.7 MB, free: 15.01 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.0001272/0.1875, allocations: 128.5 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.1876, allocations: 11.81 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.049e-05/0.1876, allocations: 16.7 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1876, allocations: 4.375 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.1876, allocations: 3.938 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1876, allocations: 4 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.1881, allocations: 399.3 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1882, allocations: 0 / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.1882, allocations: 11.94 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1882, allocations: 3.984 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1882, allocations: 8 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1882, allocations: 0 / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1882, allocations: 0 / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.1885, allocations: 204.2 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.1886, allocations: 88.95 kB / 486.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.1886, allocations: 7.984 kB / 486.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.1887, allocations: 4 kB / 486.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1887, allocations: 4.188 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1887, allocations: 7.984 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1889, allocations: 134.4 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1889, allocations: 0 / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.1892, allocations: 48 kB / 486.8 MB, free: 13.84 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.001356/0.1905, allocations: 0.5218 MB / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1908, allocations: 67.91 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1908, allocations: 0 / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/0.1909, allocations: 35.92 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1912, allocations: 23.92 kB / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.1917, allocations: 228.7 kB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.192, allocations: 0.7004 MB / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.403e-05/0.1921, allocations: 17.17 kB / 488.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.1921, allocations: 23.44 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1921, allocations: 0 / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of Templates: time 0.005848/0.198, allocations: 2.296 MB / 490.7 MB, free: 10.07 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches