Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.0009149/0.0009149, 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.003908/0.003908, allocations: 160.5 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.9247/0.9247, allocations: 177.1 MB / 205 MB, free: 5.715 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.2894/0.2894, allocations: 32.79 MB / 294.2 MB, free: 1.18 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.249e-05, allocations: 2.281 kB / 440.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002793/0.002825, allocations: 1.691 MB / 442.6 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008437/0.003669, allocations: 0.5841 MB / 443.1 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.003747, allocations: 0 / 443.1 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.003966, allocations: 27.73 kB / 443.2 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.00428, allocations: 87.48 kB / 443.3 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.004675, allocations: 176.4 kB / 443.4 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.004869, allocations: 111.5 kB / 443.5 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.004983, allocations: 8 kB / 443.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.365e-05/0.005077, allocations: 51.89 kB / 443.6 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.005151, allocations: 39.89 kB / 443.6 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.00517, allocations: 8 kB / 443.6 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.005348, allocations: 99.75 kB / 443.7 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.005414, allocations: 23.91 kB / 443.8 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.005455, allocations: 23.92 kB / 443.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.005733, allocations: 175.4 kB / 444 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.005737, allocations: 0 / 444 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005738, allocations: 0 / 444 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005743, allocations: 0 / 444 MB, free: 0.6094 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.0005072/0.00625, allocations: 365.5 kB / 444.3 MB, free: 228 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.006288, allocations: 12.03 kB / 444.3 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.006338, allocations: 12.84 kB / 444.3 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.006526, allocations: 146.1 kB / 444.5 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.006538, allocations: 384 / 444.5 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.006564, allocations: 8.375 kB / 444.5 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1839/0.1904, allocations: 116.3 kB / 444.6 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1904, allocations: 6.203 kB / 444.6 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1905, allocations: 2.375 kB / 444.6 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1905, allocations: 1.625 kB / 444.6 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.1906, allocations: 72.59 kB / 444.7 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.1911, allocations: 278.4 kB / 445 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1912, allocations: 78.28 kB / 445 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.752e-05/0.1913, allocations: 44.05 kB / 445.1 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1913, allocations: 5.469 kB / 445.1 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.1913, allocations: 35.41 kB / 445.1 MB, free: 46.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.013e-06/0.1914, allocations: 0 / 445.1 MB, free: 46.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009171/0.1923, allocations: 411.8 kB / 445.5 MB, free: 46.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1923, allocations: 82.75 kB / 445.6 MB, free: 46.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1924, allocations: 161.1 kB / 445.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.1924, allocations: 29.02 kB / 445.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.1925, allocations: 102.5 kB / 445.9 MB, free: 45.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1925, allocations: 32.06 kB / 445.9 MB, free: 45.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.1925, allocations: 25.19 kB / 445.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.507e-05/0.1926, allocations: 323.8 kB / 446.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1927, allocations: 79.41 kB / 446.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.1929, allocations: 123.6 kB / 446.5 MB, free: 45.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.1931, allocations: 170.3 kB / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1931, allocations: 2.625 kB / 446.6 MB, free: 45.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003165/0.1934, allocations: 212.4 kB / 446.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1935, allocations: 5.312 kB / 446.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1935, allocations: 4.031 kB / 446.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1935, allocations: 0 / 446.8 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1936, allocations: 42.16 kB / 446.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1936, allocations: 3.938 kB / 446.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.1937, allocations: 23.64 kB / 446.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1937, allocations: 6.719 kB / 446.9 MB, free: 45.4 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 (10): * Single equations (assignments): 10 * 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 7.391e-05/0.1938, allocations: 122.5 kB / 447 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.1938, allocations: 17.69 kB / 447 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.1942, allocations: 224.8 kB / 447.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1942, allocations: 0 / 447.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1942, allocations: 0 / 447.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1942, allocations: 7.938 kB / 447.3 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.1947, allocations: 446.1 kB / 447.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1947, allocations: 6.078 kB / 447.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.541e-05/0.1948, allocations: 43.19 kB / 447.8 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1948, allocations: 0 / 447.8 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1948, allocations: 8.656 kB / 447.8 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.1948, allocations: 3.75 kB / 447.8 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1948, allocations: 0 / 447.8 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.1951, allocations: 307.8 kB / 448.1 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.1951, allocations: 6.859 kB / 448.1 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1951, allocations: 6.844 kB / 448.1 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.1952, allocations: 25.34 kB / 448.1 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.1953, allocations: 12.05 kB / 448.1 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1953, allocations: 0 / 448.1 MB, free: 44.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.511e-05/0.1953, allocations: 123.9 kB / 448.2 MB, free: 44.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1953, allocations: 4 kB / 448.2 MB, free: 44.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.1956, allocations: 50.88 kB / 448.3 MB, free: 44.61 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 (9): * Single equations (assignments): 9 * 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.0008803/0.1964, allocations: 0.5288 MB / 448.8 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003616/0.1968, allocations: 172.5 kB / 449 MB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1968, allocations: 0.7656 kB / 449 MB, free: 44.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.1969, allocations: 93 kB / 449.1 MB, free: 44.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.1972, allocations: 20.19 kB / 449.1 MB, free: 44.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.1977, allocations: 261.1 kB / 449.4 MB, free: 44.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.68e-05/0.1977, allocations: 90.19 kB / 449.4 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.1978, allocations: 20.05 kB / 449.5 MB, free: 44.13 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1978, allocations: 0 / 449.5 MB, free: 44.13 MB / 410.7 MB Notification: Performance of Templates: time 0.00333/0.2011, allocations: 2.682 MB / 452.1 MB, free: 43.85 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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: 5.063126957044005]