Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.0009388/0.0009388, 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.004814/0.004814, allocations: 160.4 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.8897/0.8897, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2379/0.2379, allocations: 32.79 MB / 294.2 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test27,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 440.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.862e-05, allocations: 8.609 kB / 440.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.001883/0.001902, allocations: 1.611 MB / 442.5 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000652/0.002554, allocations: 0.5375 MB / 443 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.002608, allocations: 3.938 kB / 443 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.002882, allocations: 123.6 kB / 443.1 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.003123, allocations: 131.5 kB / 443.3 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.00333, allocations: 119.3 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.003481, allocations: 103.7 kB / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.003571, allocations: 8 kB / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.562e-05/0.003637, allocations: 59.86 kB / 443.6 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.003738, allocations: 83.83 kB / 443.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.003752, allocations: 4 kB / 443.6 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.003823, allocations: 51.91 kB / 443.7 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.003872, allocations: 27.86 kB / 443.7 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.003898, allocations: 15.94 kB / 443.7 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.004311, allocations: 131.5 kB / 443.9 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004313, allocations: 0 / 443.9 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004313, allocations: 0 / 443.9 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.004317, allocations: 0 / 443.9 MB, free: 0.6953 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.0003561/0.004673, allocations: 361.4 kB / 444.2 MB, free: 320 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.004706, allocations: 8.031 kB / 444.2 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.004739, allocations: 16.84 kB / 444.2 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.004874, allocations: 157.1 kB / 444.4 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-06/0.004881, allocations: 384 / 444.4 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.004904, allocations: 12.33 kB / 444.4 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.999e-05/0.005004, allocations: 50.23 kB / 444.5 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.005015, allocations: 4.172 kB / 444.5 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.005024, allocations: 12 kB / 444.5 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.005027, allocations: 0 / 444.5 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1832/0.1882, allocations: 31.42 kB / 444.5 MB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.1885, allocations: 240.2 kB / 444.7 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.1886, allocations: 47.48 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.1887, allocations: 20.8 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1887, allocations: 4.844 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.1887, allocations: 31.31 kB / 444.8 MB, free: 46.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.1887, allocations: 1.906 kB / 444.8 MB, free: 46.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005693/0.1893, allocations: 253.5 kB / 445.1 MB, free: 46.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.1893, allocations: 54.16 kB / 445.1 MB, free: 46.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1894, allocations: 273.2 kB / 445.4 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.1894, allocations: 26.77 kB / 445.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.1895, allocations: 121.6 kB / 445.6 MB, free: 46.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.1895, allocations: 25.06 kB / 445.6 MB, free: 46.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.1895, allocations: 23.56 kB / 445.6 MB, free: 46.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.121e-05/0.1895, allocations: 329.6 kB / 445.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.1896, allocations: 30.83 kB / 446 MB, free: 45.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.1896, allocations: 33.56 kB / 446 MB, free: 45.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.12e-05/0.1897, allocations: 79.23 kB / 446.1 MB, free: 45.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.1897, allocations: 0 / 446.1 MB, free: 45.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001065/0.1898, allocations: 116.6 kB / 446.2 MB, free: 45.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1898, allocations: 8.938 kB / 446.2 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1898, allocations: 2.812 kB / 446.2 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1898, allocations: 0 / 446.2 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.1899, allocations: 16.48 kB / 446.2 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.1899, allocations: 0 / 446.2 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.1899, allocations: 9.109 kB / 446.2 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.1899, allocations: 2.906 kB / 446.2 MB, free: 45.79 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.23e-05/0.19, allocations: 148.7 kB / 446.4 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.19, allocations: 17.7 kB / 446.4 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.1902, allocations: 132.8 kB / 446.5 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1902, allocations: 6.719 kB / 446.5 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.1902, allocations: 0 / 446.5 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1902, allocations: 0 / 446.5 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.1904, allocations: 366.3 kB / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1904, allocations: 2.875 kB / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.1905, allocations: 18.94 kB / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1905, allocations: 2.812 kB / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1905, allocations: 3.234 kB / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1905, allocations: 10.09 kB / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1905, allocations: 0 / 446.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.1906, allocations: 215.1 kB / 447.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-06/0.1906, allocations: 17.84 kB / 447.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.1906, allocations: 2 kB / 447.1 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.1906, allocations: 9.109 kB / 447.2 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.1907, allocations: 10.09 kB / 447.2 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1907, allocations: 3.781 kB / 447.2 MB, free: 45.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.918e-05/0.1907, allocations: 212.3 kB / 447.4 MB, free: 45.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1907, allocations: 2.781 kB / 447.4 MB, free: 45.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.1909, allocations: 25.14 kB / 447.4 MB, free: 45.04 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.0006889/0.1916, allocations: 499.6 kB / 447.9 MB, free: 44.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.1917, allocations: 72.77 kB / 448 MB, free: 44.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1917, allocations: 2.969 kB / 448 MB, free: 44.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.306e-05/0.1918, allocations: 36.28 kB / 448 MB, free: 44.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.192, allocations: 16.97 kB / 448 MB, free: 44.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.1924, allocations: 348.8 kB / 448.4 MB, free: 44.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.413e-05/0.1924, allocations: 108.1 kB / 448.5 MB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.1925, allocations: 17 kB / 448.5 MB, free: 44.56 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1925, allocations: 0 / 448.5 MB, free: 44.56 MB / 410.7 MB Notification: Performance of Templates: time 0.002127/0.1946, allocations: 2.023 MB / 450.5 MB, free: 44.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.905210507102311]