Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.0008141/0.0008141, allocations: 83.69 kB / 21.43 MB, free: 3.125 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.006499/0.006499, allocations: 161.6 kB / 24.7 MB, free: 9.41 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.8924/0.8924, allocations: 177.1 MB / 205 MB, free: 5.719 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.2633/0.2633, allocations: 34.25 MB / 295.7 MB, free: 0.6992 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 443.4 MB, free: 1.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.428e-05, allocations: 2.281 kB / 443.5 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.1849/0.1849, allocations: 1.595 MB / 445 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1861, allocations: 1.248 MB / 446.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.1861, allocations: 0 / 446.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.1864, allocations: 28.98 kB / 446.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.1866, allocations: 85.42 kB / 446.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.1868, allocations: 112.5 kB / 446.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1869, allocations: 74.12 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.187, allocations: 12.84 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.1871, allocations: 34.05 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.1872, allocations: 23.67 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1872, allocations: 5.875 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1873, allocations: 99.45 kB / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.1874, allocations: 10.92 kB / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.1874, allocations: 17.89 kB / 446.8 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1876, allocations: 142.6 kB / 446.9 MB, free: 42.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1876, allocations: 0 / 446.9 MB, free: 42.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1876, allocations: 6.25 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1876, allocations: 0 / 446.9 MB, free: 42.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003497/0.1879, allocations: 326.6 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.188, allocations: 11.56 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.188, allocations: 7.859 kB / 447.3 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1881, allocations: 137 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.1881, allocations: 6.812 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.1882, allocations: 384 / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1883, allocations: 91.02 kB / 447.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1883, allocations: 4.141 kB / 447.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1883, allocations: 4.125 kB / 447.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1883, allocations: 0 / 447.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/0.1884, allocations: 29.38 kB / 447.5 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.1886, allocations: 224.1 kB / 447.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.1887, allocations: 45.94 kB / 447.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.1888, allocations: 21.73 kB / 447.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1888, allocations: 10.66 kB / 447.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.1888, allocations: 30.56 kB / 447.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1888, allocations: 0 / 447.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003633/0.1892, allocations: 156.9 kB / 448 MB, free: 41.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.1892, allocations: 79.86 kB / 448.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.1893, allocations: 145.7 kB / 448.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-06/0.1893, allocations: 25.7 kB / 448.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.1893, allocations: 94.44 kB / 448.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.1893, allocations: 18.73 kB / 448.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.1894, allocations: 15.03 kB / 448.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.883e-05/0.1894, allocations: 321.3 kB / 448.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.1894, allocations: 24.62 kB / 448.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.407e-05/0.1895, allocations: 59.83 kB / 448.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.1895, allocations: 55.31 kB / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1895, allocations: 3.938 kB / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.828e-05/0.1896, allocations: 91.64 kB / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1897, allocations: 5.625 kB / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1897, allocations: 0 / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1897, allocations: 0 / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.1897, allocations: 14.2 kB / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1897, allocations: 0 / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.1897, allocations: 10.02 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1897, allocations: 6.156 kB / 449 MB, free: 41.18 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 (5): * Single equations (assignments): 5 * 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 4.266e-05/0.1898, allocations: 121.8 kB / 449.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.1898, allocations: 9.578 kB / 449.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.19, allocations: 105.3 kB / 449.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.19, allocations: 0 / 449.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.19, allocations: 0 / 449.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.19, allocations: 0 / 449.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.1902, allocations: 301.5 kB / 449.5 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1902, allocations: 3.281 kB / 449.5 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.1902, allocations: 18.03 kB / 449.5 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1902, allocations: 0 / 449.5 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1902, allocations: 3.375 kB / 449.5 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1902, allocations: 3.938 kB / 449.5 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1902, allocations: 3.938 kB / 449.5 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.811e-05/0.1903, allocations: 180.8 kB / 449.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.1903, allocations: 9.922 kB / 449.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1903, allocations: 6.438 kB / 449.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.1904, allocations: 10.66 kB / 449.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.1904, allocations: 6.047 kB / 449.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1904, allocations: 0 / 449.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.205e-05/0.1904, allocations: 115.9 kB / 449.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1904, allocations: 0 / 449.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.1906, allocations: 34.3 kB / 449.9 MB, free: 40.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0007925/0.1914, allocations: 0.5235 MB / 450.4 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1916, allocations: 62.59 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1916, allocations: 0 / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.44e-05/0.1916, allocations: 31.05 kB / 450.5 MB, free: 40.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.1919, allocations: 19.14 kB / 450.5 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.1922, allocations: 197.2 kB / 450.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.1922, allocations: 83.14 kB / 450.8 MB, free: 40.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.1922, allocations: 24.53 kB / 450.8 MB, free: 40.01 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1923, allocations: 0 / 450.8 MB, free: 40.01 MB / 410.7 MB Notification: Performance of Templates: time 0.002376/0.1946, allocations: 1.99 MB / 452.8 MB, free: 39.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.7799035320058465]