Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2572/0.2572, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 89.38 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1737, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.004902/0.1787, allocations: 1.744 MB / 481.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.1808, allocations: 1.021 MB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1809, allocations: 8 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.1813, allocations: 103.7 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.1817, allocations: 131.5 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.182, allocations: 83.66 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.1824, allocations: 127.7 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1825, allocations: 19.98 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.1827, allocations: 67.69 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.1828, allocations: 63.81 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.1828, allocations: 4 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.1831, allocations: 63.92 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.1832, allocations: 35.84 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.579e-05/0.1833, allocations: 43.67 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.1836, allocations: 151.8 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1836, allocations: 4 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1836, allocations: 0 / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1836, allocations: 0 / 483.8 MB, free: 1.523 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.0007324/0.1843, allocations: 454.7 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1844, allocations: 12.03 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.1844, allocations: 8.844 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.1849, allocations: 236.8 kB / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1849, allocations: 4.312 kB / 484.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.1849, allocations: 16.12 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1851, allocations: 61.66 kB / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1852, allocations: 0 / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.1852, allocations: 4 kB / 484.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.1852, allocations: 0 / 484.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.641e-05/0.1853, allocations: 35.86 kB / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.1859, allocations: 324.8 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.1862, allocations: 74.58 kB / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1863, allocations: 24.86 kB / 485 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1863, allocations: 7.984 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.1866, allocations: 67.39 kB / 485.1 MB, free: 56 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1866, allocations: 0 / 485.1 MB, free: 56 kB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001058/0.1877, allocations: 281 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1877, allocations: 55.34 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.1881, allocations: 255.8 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.1881, allocations: 29.7 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.1882, allocations: 112.1 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.1883, allocations: 39.45 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.1883, allocations: 29.7 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1885, allocations: 330.8 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.1886, allocations: 39.92 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.464e-05/0.1887, allocations: 57.69 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.1889, allocations: 93.69 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1889, allocations: 0 / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002487/0.1891, allocations: 141.4 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1892, allocations: 8.031 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1892, allocations: 4 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1892, allocations: 0 / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.1893, allocations: 23.98 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1893, allocations: 4.641 kB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.1894, allocations: 0 / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.1894, allocations: 8 kB / 486.6 MB, free: 14.5 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 (14): * Single equations (assignments): 14 * 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.0001387/0.1895, allocations: 141.7 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.1896, allocations: 15.81 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.149e-05/0.1896, allocations: 29.39 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1896, allocations: 11.88 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.1897, allocations: 3.938 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1897, allocations: 0 / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.1903, allocations: 483.9 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1903, allocations: 0 / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.1904, allocations: 20.05 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1904, allocations: 4 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1904, allocations: 4 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1904, allocations: 4 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1904, allocations: 0 / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.1908, allocations: 244.9 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.1908, allocations: 92.92 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.1909, allocations: 4 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.191, allocations: 8 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.191, allocations: 7.984 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.191, allocations: 7.938 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.1912, allocations: 201.4 kB / 487.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1912, allocations: 0 / 487.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.1915, allocations: 28 kB / 487.8 MB, free: 13.11 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: 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 (12): * Single equations (assignments): 10 * 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.001973/0.1935, allocations: 0.5074 MB / 488.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.1938, allocations: 99.78 kB / 488.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1938, allocations: 0 / 488.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1939, allocations: 47.92 kB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.1943, allocations: 34.91 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.195, allocations: 312.8 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.1954, allocations: 0.7279 MB / 489.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.405e-05/0.1955, allocations: 25.06 kB / 489.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.1956, allocations: 19.44 kB / 489.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1956, allocations: 0 / 489.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of Templates: time 0.005836/0.2014, allocations: 2.102 MB / 491.7 MB, free: 9.387 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches