Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.000789/0.000789, 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.004804/0.004804, allocations: 160.2 kB / 24.7 MB, free: 9.43 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.819/0.819, 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.2226/0.2226, allocations: 34.25 MB / 295.7 MB, free: 0.7109 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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 3.984 kB / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.354e-05, allocations: 2.844 kB / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.1863/0.1864, allocations: 1.61 MB / 445.1 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006711/0.187, allocations: 0.5414 MB / 445.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.1871, allocations: 0 / 445.6 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.1873, allocations: 82.39 kB / 445.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.1875, allocations: 107.1 kB / 445.8 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.1877, allocations: 110.1 kB / 445.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1879, allocations: 86.58 kB / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.188, allocations: 14.44 kB / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.685e-05/0.188, allocations: 44.58 kB / 446.1 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.1881, allocations: 50.56 kB / 446.1 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1881, allocations: 2.75 kB / 446.1 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.1882, allocations: 54.97 kB / 446.2 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.1882, allocations: 23.08 kB / 446.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.1883, allocations: 18.55 kB / 446.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1884, allocations: 107.4 kB / 446.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1884, allocations: 0 / 446.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1884, allocations: 0 / 446.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1884, allocations: 0 / 446.3 MB, free: 43.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003711/0.1888, allocations: 344.6 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.1888, allocations: 8.375 kB / 446.7 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.1889, allocations: 17.81 kB / 446.7 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.189, allocations: 139.6 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.189, allocations: 3.469 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.189, allocations: 7.062 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.1891, allocations: 48.55 kB / 446.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1891, allocations: 192 / 446.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1891, allocations: 10.81 kB / 446.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1892, allocations: 0 / 446.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.79e-05/0.1892, allocations: 28.02 kB / 446.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.1895, allocations: 248.5 kB / 447.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.058e-05/0.1895, allocations: 43.64 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.1896, allocations: 24.41 kB / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1896, allocations: 0 / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.1896, allocations: 33.38 kB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.1896, allocations: 3.719 kB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000587/0.1902, allocations: 237 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.1902, allocations: 57.5 kB / 447.5 MB, free: 42.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1903, allocations: 212.5 kB / 447.7 MB, free: 42.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.1903, allocations: 26.23 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.1904, allocations: 108.5 kB / 447.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.1904, allocations: 28.81 kB / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.1904, allocations: 21.06 kB / 447.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.1905, allocations: 332 kB / 448.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.1905, allocations: 28.38 kB / 448.3 MB, free: 41.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-05/0.1905, allocations: 34.86 kB / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.1906, allocations: 75.19 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1906, allocations: 2.5 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001252/0.1908, allocations: 115.5 kB / 448.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1908, allocations: 5.344 kB / 448.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1908, allocations: 0 / 448.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1908, allocations: 6.594 kB / 448.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.1909, allocations: 14.7 kB / 448.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1909, allocations: 2.906 kB / 448.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.1909, allocations: 8.656 kB / 448.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.1909, allocations: 6.016 kB / 448.5 MB, free: 41.72 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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 5.844e-05/0.1909, allocations: 129.8 kB / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.191, allocations: 17.28 kB / 448.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.1911, allocations: 131.5 kB / 448.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1911, allocations: 0 / 448.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1911, allocations: 0 / 448.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1911, allocations: 2.812 kB / 448.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.1914, allocations: 364.3 kB / 449.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1914, allocations: 0 / 449.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.1914, allocations: 17.12 kB / 449.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1914, allocations: 2.531 kB / 449.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1914, allocations: 3.188 kB / 449.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1915, allocations: 2.875 kB / 449.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1915, allocations: 0 / 449.2 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.1916, allocations: 226.8 kB / 449.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.1916, allocations: 10.27 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1916, allocations: 1.906 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.1916, allocations: 4.25 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1917, allocations: 13.78 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.1917, allocations: 2.906 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.244e-05/0.1917, allocations: 161 kB / 449.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1917, allocations: 0 / 449.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.1919, allocations: 25.55 kB / 449.6 MB, free: 40.94 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0007424/0.1926, allocations: 492.5 kB / 450.1 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.1928, allocations: 84.19 kB / 450.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1928, allocations: 0 / 450.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.1928, allocations: 42.61 kB / 450.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.1931, allocations: 17 kB / 450.3 MB, free: 40.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.1934, allocations: 302.5 kB / 450.5 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.253e-05/0.1935, allocations: 99.11 kB / 450.6 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.1935, allocations: 17.19 kB / 450.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1935, allocations: 0 / 450.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of Templates: time 0.002361/0.1959, allocations: 1.875 MB / 452.5 MB, free: 40.23 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.499800594523549]