Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.0007888/0.0007888, 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.003505/0.003505, allocations: 160.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.8677/0.8677, allocations: 177.2 MB / 205 MB, free: 5.723 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.2568/0.2568, allocations: 34.25 MB / 295.7 MB, free: 0.707 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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.591e-05, allocations: 6.219 kB / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.1904/0.1904, allocations: 1.873 MB / 445.4 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1915, allocations: 1.071 MB / 446.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.354e-05/0.1916, allocations: 2.562 kB / 446.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.1919, allocations: 232 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.1922, allocations: 226.1 kB / 446.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.1924, allocations: 114.8 kB / 447 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1926, allocations: 261.6 kB / 447.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1927, allocations: 22.98 kB / 447.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1928, allocations: 145.9 kB / 447.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1929, allocations: 155.8 kB / 447.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1929, allocations: 7.938 kB / 447.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.193, allocations: 76.81 kB / 447.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.225e-05/0.1931, allocations: 60.14 kB / 447.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.1931, allocations: 46.69 kB / 447.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.1933, allocations: 242 kB / 448 MB, free: 42.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1933, allocations: 0 / 448 MB, free: 42.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1933, allocations: 3.031 kB / 448 MB, free: 42.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1933, allocations: 0 / 448 MB, free: 42.59 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.0004444/0.1938, allocations: 0.5001 MB / 448.5 MB, free: 42.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1938, allocations: 8.5 kB / 448.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.1939, allocations: 36.89 kB / 448.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1941, allocations: 217.9 kB / 448.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1941, allocations: 3.312 kB / 448.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1941, allocations: 10.09 kB / 448.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1943, allocations: 120.7 kB / 448.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1943, allocations: 11.55 kB / 448.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1943, allocations: 0 / 448.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1943, allocations: 2.625 kB / 448.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.507e-05/0.1944, allocations: 47.23 kB / 449 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.1947, allocations: 418.3 kB / 449.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.1949, allocations: 121.2 kB / 449.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.195, allocations: 49.05 kB / 449.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.195, allocations: 10.03 kB / 449.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.1951, allocations: 118 kB / 449.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.163e-06/0.1951, allocations: 0 / 449.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007597/0.1959, allocations: 0.5068 MB / 450.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.1959, allocations: 87.77 kB / 450.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.1962, allocations: 457.9 kB / 450.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1962, allocations: 33.23 kB / 450.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.1963, allocations: 166.7 kB / 450.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.1963, allocations: 72.67 kB / 451 MB, free: 40.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.1963, allocations: 46.47 kB / 451 MB, free: 40.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.527e-05/0.1964, allocations: 350 kB / 451.4 MB, free: 40.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.1964, allocations: 56.34 kB / 451.4 MB, free: 40.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-05/0.1965, allocations: 94.16 kB / 451.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1967, allocations: 163.8 kB / 451.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1967, allocations: 6.938 kB / 451.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002102/0.1969, allocations: 233.2 kB / 451.9 MB, free: 39.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1969, allocations: 6.812 kB / 451.9 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1969, allocations: 0 / 451.9 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1969, allocations: 6.781 kB / 451.9 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.197, allocations: 45.36 kB / 452 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.197, allocations: 6.75 kB / 452 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.197, allocations: 6.172 kB / 452 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1971, allocations: 13.84 kB / 452 MB, free: 39.94 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 9.077e-05/0.1971, allocations: 168.2 kB / 452.2 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1972, allocations: 34.2 kB / 452.2 MB, free: 39.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.1974, allocations: 285.4 kB / 452.5 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1974, allocations: 3 kB / 452.5 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/0.1974, allocations: 6.812 kB / 452.5 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1975, allocations: 0 / 452.5 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.1979, allocations: 0.6788 MB / 453.2 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1979, allocations: 6.812 kB / 453.2 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.198, allocations: 28.67 kB / 453.2 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.198, allocations: 2.812 kB / 453.2 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.198, allocations: 9.953 kB / 453.2 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.198, allocations: 7.953 kB / 453.2 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.198, allocations: 2.75 kB / 453.2 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.1982, allocations: 435.8 kB / 453.7 MB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.1982, allocations: 32.45 kB / 453.7 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1983, allocations: 17.05 kB / 453.7 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.1983, allocations: 2.938 kB / 453.7 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.1984, allocations: 26.11 kB / 453.7 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1984, allocations: 11.38 kB / 453.7 MB, free: 38.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.1986, allocations: 342.1 kB / 454.1 MB, free: 38.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1986, allocations: 192 / 454.1 MB, free: 38.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.1988, allocations: 53.75 kB / 454.1 MB, free: 38.68 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.0009187/0.1997, allocations: 0.5693 MB / 454.7 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.1999, allocations: 160.6 kB / 454.9 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1999, allocations: 0 / 454.9 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.095e-05/0.2, allocations: 80.03 kB / 454.9 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.2004, allocations: 55.64 kB / 455 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006327/0.201, allocations: 0.5945 MB / 455.6 MB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.2011, allocations: 171.2 kB / 455.8 MB, free: 37.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.2012, allocations: 35.16 kB / 455.8 MB, free: 37.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2012, allocations: 0 / 455.8 MB, free: 37.93 MB / 410.7 MB Notification: Performance of Templates: time 0.003776/0.2049, allocations: 3.893 MB / 459.7 MB, free: 37.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference: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 Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 5.045256479643285]