Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003462/0.003462, allocations: 160.5 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8231/0.8231, allocations: 177.2 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2498/0.2498, allocations: 34.26 MB / 295.7 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.082e-05, allocations: 6.219 kB / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.1826/0.1826, allocations: 1.877 MB / 445.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1838, allocations: 1.071 MB / 446.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.451e-05/0.1838, allocations: 2.5 kB / 446.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.1842, allocations: 226.2 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1845, allocations: 230.5 kB / 446.9 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.1846, allocations: 110.1 kB / 447 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.1848, allocations: 266.5 kB / 447.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1849, allocations: 22.19 kB / 447.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1851, allocations: 147.7 kB / 447.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.1852, allocations: 157.5 kB / 447.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1852, allocations: 8.438 kB / 447.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.709e-05/0.1853, allocations: 66.38 kB / 447.7 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.1854, allocations: 65.56 kB / 447.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.1854, allocations: 44.34 kB / 447.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1856, allocations: 246.8 kB / 448 MB, free: 42.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1856, allocations: 0.5625 kB / 448 MB, free: 42.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1856, allocations: 3.969 kB / 448 MB, free: 42.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1856, allocations: 0 / 448 MB, free: 42.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004739/0.1861, allocations: 0.4959 MB / 448.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1861, allocations: 8.656 kB / 448.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.1862, allocations: 34.03 kB / 448.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.1864, allocations: 222.6 kB / 448.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1864, allocations: 6.469 kB / 448.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1865, allocations: 10.16 kB / 448.8 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1866, allocations: 111.8 kB / 448.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1866, allocations: 10.89 kB / 448.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1866, allocations: 5.906 kB / 448.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1867, allocations: 2.938 kB / 448.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.952e-05/0.1867, allocations: 49.09 kB / 449 MB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.1871, allocations: 419.7 kB / 449.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.1873, allocations: 120 kB / 449.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.1874, allocations: 38.5 kB / 449.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.1874, allocations: 10.78 kB / 449.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.1875, allocations: 120.8 kB / 449.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.1875, allocations: 3.562 kB / 449.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007615/0.1883, allocations: 0.5135 MB / 450.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1883, allocations: 84.08 kB / 450.3 MB, free: 41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.1885, allocations: 456.4 kB / 450.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1886, allocations: 35.98 kB / 450.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.1886, allocations: 157.9 kB / 450.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.1887, allocations: 77.98 kB / 451 MB, free: 40.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.1887, allocations: 48.56 kB / 451 MB, free: 40.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.1888, allocations: 345.4 kB / 451.4 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.17e-05/0.1888, allocations: 65.06 kB / 451.4 MB, free: 40.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.1889, allocations: 91.77 kB / 451.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.1891, allocations: 160.1 kB / 451.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1891, allocations: 0 / 451.7 MB, free: 40.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00021/0.1893, allocations: 238.3 kB / 451.9 MB, free: 39.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1893, allocations: 5.781 kB / 451.9 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1893, allocations: 4.062 kB / 451.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1893, allocations: 2.812 kB / 451.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.1894, allocations: 43.92 kB / 452 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1894, allocations: 6.781 kB / 452 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.1894, allocations: 9.719 kB / 452 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1894, allocations: 12.92 kB / 452 MB, free: 39.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.325e-05/0.1895, allocations: 164.6 kB / 452.2 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1895, allocations: 33.92 kB / 452.2 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.1898, allocations: 293.7 kB / 452.5 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1898, allocations: 6.094 kB / 452.5 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1898, allocations: 3.938 kB / 452.5 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1898, allocations: 0 / 452.5 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.1903, allocations: 0.6705 MB / 453.2 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1903, allocations: 9.969 kB / 453.2 MB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.1903, allocations: 32.61 kB / 453.2 MB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1903, allocations: 2.812 kB / 453.2 MB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1903, allocations: 9.781 kB / 453.2 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1903, allocations: 0 / 453.2 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1903, allocations: 6.625 kB / 453.2 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.1906, allocations: 443.2 kB / 453.7 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.1906, allocations: 32.36 kB / 453.7 MB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1906, allocations: 9.938 kB / 453.7 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.1907, allocations: 6 kB / 453.7 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.1907, allocations: 26.33 kB / 453.7 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1907, allocations: 8.781 kB / 453.7 MB, free: 38.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.1909, allocations: 346.8 kB / 454.1 MB, free: 38.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1909, allocations: 0 / 454.1 MB, free: 38.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.1911, allocations: 52.06 kB / 454.1 MB, free: 38.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000821/0.1919, allocations: 0.5627 MB / 454.7 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.1921, allocations: 160 kB / 454.8 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1921, allocations: 0 / 454.8 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.1922, allocations: 83.17 kB / 454.9 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1925, allocations: 60.88 kB / 455 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.1931, allocations: 0.5947 MB / 455.6 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.385e-05/0.1932, allocations: 170.2 kB / 455.8 MB, free: 37.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.1932, allocations: 32.03 kB / 455.8 MB, free: 37.9 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1932, allocations: 0 / 455.8 MB, free: 37.9 MB / 410.7 MB Notification: Performance of Templates: time 0.003378/0.1966, allocations: 3.899 MB / 459.7 MB, free: 37.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 4.9751855889335275]