Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.0008145/0.0008145, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004042/0.004042, allocations: 161.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.8648/0.8648, 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.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.2489/0.2489, allocations: 34.25 MB / 295.7 MB, free: 0.6914 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.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.305e-05, allocations: 2.281 kB / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.1919/0.1919, allocations: 1.874 MB / 445.4 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1931, allocations: 1.066 MB / 446.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.1932, allocations: 7.812 kB / 446.5 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.1935, allocations: 167.4 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.1938, allocations: 194.6 kB / 446.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.194, allocations: 122.9 kB / 447 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1942, allocations: 249.5 kB / 447.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1943, allocations: 17.73 kB / 447.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1944, allocations: 133.4 kB / 447.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1945, allocations: 135 kB / 447.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1945, allocations: 8.188 kB / 447.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/0.1946, allocations: 62.12 kB / 447.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.1947, allocations: 57.45 kB / 447.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.1947, allocations: 49.59 kB / 447.6 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.1949, allocations: 221.4 kB / 447.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1949, allocations: 0 / 447.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1949, allocations: 0 / 447.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1949, allocations: 0 / 447.9 MB, free: 42.71 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004368/0.1954, allocations: 478.9 kB / 448.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1954, allocations: 11.88 kB / 448.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.1954, allocations: 31.2 kB / 448.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.1957, allocations: 212.7 kB / 448.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1957, allocations: 3.188 kB / 448.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1957, allocations: 10.09 kB / 448.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1958, allocations: 118.4 kB / 448.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1959, allocations: 4.438 kB / 448.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1959, allocations: 5.594 kB / 448.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1959, allocations: 0 / 448.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.074e-05/0.196, allocations: 55.95 kB / 448.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.1963, allocations: 404.8 kB / 449.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.1965, allocations: 119.8 kB / 449.3 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.1966, allocations: 51.73 kB / 449.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.1966, allocations: 10.81 kB / 449.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.1967, allocations: 114.9 kB / 449.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1967, allocations: 0 / 449.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007035/0.1974, allocations: 0.4952 MB / 450 MB, free: 41.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.1974, allocations: 90.7 kB / 450 MB, free: 41.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1976, allocations: 383.6 kB / 450.4 MB, free: 41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1977, allocations: 32.58 kB / 450.5 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.1977, allocations: 149.1 kB / 450.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.1977, allocations: 81.95 kB / 450.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.1978, allocations: 42.16 kB / 450.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.1978, allocations: 345.4 kB / 451.1 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.667e-05/0.1979, allocations: 58.5 kB / 451.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.198, allocations: 96.39 kB / 451.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1981, allocations: 165.3 kB / 451.4 MB, free: 40.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1981, allocations: 0 / 451.4 MB, free: 40.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002117/0.1983, allocations: 228.9 kB / 451.6 MB, free: 40.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1983, allocations: 7.312 kB / 451.6 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1983, allocations: 3.375 kB / 451.6 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1983, allocations: 2.812 kB / 451.6 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.1984, allocations: 44.38 kB / 451.6 MB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1984, allocations: 10.78 kB / 451.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.1985, allocations: 16.72 kB / 451.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.1985, allocations: 5.875 kB / 451.7 MB, free: 40.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.038e-05/0.1986, allocations: 161 kB / 451.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.1986, allocations: 29.75 kB / 451.9 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.1988, allocations: 276.5 kB / 452.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1989, allocations: 2.938 kB / 452.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1989, allocations: 7.219 kB / 452.1 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1989, allocations: 2.938 kB / 452.2 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.1993, allocations: 0.6661 MB / 452.8 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1993, allocations: 3.406 kB / 452.8 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.1993, allocations: 32.5 kB / 452.9 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1993, allocations: 4.344 kB / 452.9 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.1994, allocations: 6 kB / 452.9 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1994, allocations: 6.188 kB / 452.9 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1994, allocations: 9.562 kB / 452.9 MB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1996, allocations: 437.1 kB / 453.3 MB, free: 39.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.1996, allocations: 31.19 kB / 453.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1996, allocations: 7.031 kB / 453.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.1997, allocations: 6.125 kB / 453.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1997, allocations: 28.75 kB / 453.4 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1997, allocations: 9.094 kB / 453.4 MB, free: 39.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1999, allocations: 288.3 kB / 453.7 MB, free: 38.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1999, allocations: 192 / 453.7 MB, free: 38.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000211/0.2001, allocations: 52.62 kB / 453.7 MB, free: 38.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007817/0.2009, allocations: 0.5623 MB / 454.3 MB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.2011, allocations: 160.6 kB / 454.4 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2011, allocations: 0 / 454.4 MB, free: 38.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.24e-05/0.2011, allocations: 78.27 kB / 454.5 MB, free: 38.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2015, allocations: 65.28 kB / 454.6 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.2019, allocations: 0.5376 MB / 455.1 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.155e-05/0.202, allocations: 154.2 kB / 455.3 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.2021, allocations: 36.17 kB / 455.3 MB, free: 38.14 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2021, allocations: 0 / 455.3 MB, free: 38.14 MB / 410.7 MB Notification: Performance of Templates: time 0.003424/0.2055, allocations: 3.715 MB / 459 MB, free: 37.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.9673358062282205]