Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.0008463/0.0008463, 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.003679/0.003679, allocations: 160 kB / 24.7 MB, free: 8.895 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.861/0.861, allocations: 177.1 MB / 205 MB, free: 5.734 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.2492/0.2492, allocations: 32.8 MB / 294.2 MB, free: 1.219 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.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.195e-05, allocations: 6.219 kB / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002831/0.002863, allocations: 1.712 MB / 442.7 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.004264, allocations: 0.9781 MB / 443.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.004364, allocations: 0 / 443.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.004696, allocations: 39.72 kB / 443.7 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.005052, allocations: 99.47 kB / 443.8 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.00531, allocations: 83.59 kB / 443.8 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.005498, allocations: 103.7 kB / 443.9 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.005613, allocations: 7.984 kB / 444 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.005711, allocations: 59.78 kB / 444 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.997e-05/0.005791, allocations: 27.91 kB / 444 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.00581, allocations: 4 kB / 444 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.005915, allocations: 43.92 kB / 444.1 MB, free: 492 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.005978, allocations: 23.86 kB / 444.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.006024, allocations: 23.91 kB / 444.1 MB, free: 444 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.006232, allocations: 111.6 kB / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.006234, allocations: 7.875 kB / 444.3 MB, free: 324 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.006236, allocations: 0 / 444.3 MB, free: 324 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.006241, allocations: 0 / 444.3 MB, free: 324 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.1852/0.1915, allocations: 343.1 kB / 444.6 MB, free: 46.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1915, allocations: 11.12 kB / 444.6 MB, free: 46.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.1916, allocations: 17.36 kB / 444.6 MB, free: 46.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1918, allocations: 144.2 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1918, allocations: 3.906 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1918, allocations: 3.062 kB / 444.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.192, allocations: 55.83 kB / 444.8 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.192, allocations: 0 / 444.8 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.192, allocations: 6.688 kB / 444.8 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.192, allocations: 0 / 444.8 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.1921, allocations: 22.98 kB / 444.8 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.1923, allocations: 237.4 kB / 445.1 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1925, allocations: 60.48 kB / 445.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.1925, allocations: 20.73 kB / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.1925, allocations: 3.656 kB / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.1926, allocations: 67.36 kB / 445.2 MB, free: 46.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1926, allocations: 0.5938 kB / 445.2 MB, free: 46.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004355/0.1931, allocations: 189.5 kB / 445.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.1931, allocations: 51.41 kB / 445.5 MB, free: 46.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1932, allocations: 201.3 kB / 445.7 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.016e-06/0.1932, allocations: 36.3 kB / 445.7 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.1932, allocations: 101.7 kB / 445.8 MB, free: 45.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.1933, allocations: 28.19 kB / 445.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.1933, allocations: 22.75 kB / 445.8 MB, free: 45.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.282e-05/0.1933, allocations: 327.1 kB / 446.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.1934, allocations: 21.11 kB / 446.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.1934, allocations: 34.73 kB / 446.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.61e-05/0.1935, allocations: 66.5 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1935, allocations: 0.75 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001038/0.1936, allocations: 114.1 kB / 446.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1936, allocations: 6.938 kB / 446.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1936, allocations: 2.531 kB / 446.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1936, allocations: 2.297 kB / 446.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.1937, allocations: 20.48 kB / 446.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1937, allocations: 0 / 446.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.1937, allocations: 2.781 kB / 446.4 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1937, allocations: 2.594 kB / 446.4 MB, free: 45.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 5.749e-05/0.1938, allocations: 134.7 kB / 446.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.1938, allocations: 10.77 kB / 446.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.1939, allocations: 130.1 kB / 446.7 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.1939, allocations: 0 / 446.7 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1939, allocations: 1.812 kB / 446.7 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.194, allocations: 0 / 446.7 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.1942, allocations: 351.1 kB / 447 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1942, allocations: 0 / 447 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.1942, allocations: 12.84 kB / 447.1 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1942, allocations: 0 / 447.1 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1942, allocations: 3.25 kB / 447.1 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1942, allocations: 0 / 447.1 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1942, allocations: 3.781 kB / 447.1 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.1943, allocations: 214.6 kB / 447.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.1943, allocations: 17.34 kB / 447.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.1943, allocations: 6.047 kB / 447.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.1944, allocations: 5.75 kB / 447.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.1944, allocations: 10.45 kB / 447.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.1944, allocations: 5.25 kB / 447.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.065e-05/0.1945, allocations: 153.1 kB / 447.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1945, allocations: 0 / 447.5 MB, free: 44.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.1947, allocations: 27.05 kB / 447.5 MB, free: 44.76 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007753/0.1954, allocations: 0.4884 MB / 448 MB, free: 44.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.1956, allocations: 57.55 kB / 448 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1956, allocations: 0 / 448 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.1956, allocations: 28.8 kB / 448.1 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1958, allocations: 39.8 kB / 448.1 MB, free: 44.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.1962, allocations: 267.1 kB / 448.4 MB, free: 44.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.087e-05/0.1962, allocations: 92.67 kB / 448.5 MB, free: 44.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.1963, allocations: 21 kB / 448.5 MB, free: 44.3 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1963, allocations: 0 / 448.5 MB, free: 44.3 MB / 410.7 MB Notification: Performance of Templates: time 0.002415/0.1987, allocations: 2.005 MB / 450.5 MB, free: 44.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.018611143343151]