Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.0007713/0.0007713, 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.003242/0.003242, allocations: 164 kB / 24.7 MB, free: 8.891 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.8728/0.8728, allocations: 177.1 MB / 205 MB, free: 5.746 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.2584/0.2584, allocations: 34.26 MB / 295.7 MB, free: 0.6992 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 443.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.305e-05, allocations: 2.281 kB / 443.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.1895/0.1895, allocations: 1.718 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.1905, allocations: 0.9722 MB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.1906, allocations: 2.875 kB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.1908, allocations: 53.02 kB / 446.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.1911, allocations: 98.42 kB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.1912, allocations: 75.62 kB / 446.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1913, allocations: 115.8 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.867e-05/0.1914, allocations: 9.234 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.974e-05/0.1915, allocations: 54.8 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.1916, allocations: 26.8 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1916, allocations: 2.938 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-05/0.1916, allocations: 47.75 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.1917, allocations: 30.75 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.1917, allocations: 23.98 kB / 446.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1919, allocations: 120.6 kB / 446.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.1919, allocations: 0 / 446.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1919, allocations: 3.562 kB / 446.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1919, allocations: 2.906 kB / 446.9 MB, free: 43.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003579/0.1922, allocations: 358.5 kB / 447.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.1923, allocations: 12.41 kB / 447.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.1923, allocations: 16.88 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.1925, allocations: 152.9 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1925, allocations: 4.375 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1925, allocations: 3.281 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.1926, allocations: 52.98 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1926, allocations: 9.094 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1926, allocations: 3.281 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1926, allocations: 0 / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/0.1927, allocations: 18.05 kB / 447.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.1929, allocations: 239.4 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.946e-05/0.193, allocations: 58.28 kB / 447.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.1931, allocations: 28.8 kB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1931, allocations: 0 / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.788e-05/0.1932, allocations: 71.31 kB / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.1932, allocations: 0 / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003601/0.1935, allocations: 188.3 kB / 448.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.1935, allocations: 55.34 kB / 448.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1937, allocations: 235.5 kB / 448.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.824e-06/0.1937, allocations: 32.02 kB / 448.4 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.1937, allocations: 113 kB / 448.5 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.1937, allocations: 22.52 kB / 448.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.1937, allocations: 25.55 kB / 448.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.108e-05/0.1938, allocations: 325.1 kB / 448.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.1938, allocations: 21.2 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.1938, allocations: 43.94 kB / 448.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.178e-05/0.1939, allocations: 65.94 kB / 449 MB, free: 41.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1939, allocations: 0 / 449 MB, free: 41.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.638e-05/0.194, allocations: 109.5 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.194, allocations: 11.09 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.194, allocations: 0 / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.194, allocations: 2.844 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.1941, allocations: 20.98 kB / 449.1 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1941, allocations: 0 / 449.1 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.1941, allocations: 2.969 kB / 449.1 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.1941, allocations: 10.81 kB / 449.1 MB, free: 41.23 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.351e-05/0.1942, allocations: 129.7 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.1942, allocations: 16.5 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.1943, allocations: 130.7 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1943, allocations: 3.062 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1943, allocations: 0 / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1943, allocations: 0 / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.1946, allocations: 357.2 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1946, allocations: 0 / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.896e-05/0.1946, allocations: 8.625 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1946, allocations: 5.891 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1946, allocations: 5.938 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1946, allocations: 2.969 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1946, allocations: 4.031 kB / 449.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.1947, allocations: 220.8 kB / 450 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.1947, allocations: 10.66 kB / 450 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.1947, allocations: 3.031 kB / 450 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.713e-05/0.1948, allocations: 6.109 kB / 450 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.1948, allocations: 13.95 kB / 450 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1948, allocations: 2.719 kB / 450 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.374e-05/0.1949, allocations: 181.2 kB / 450.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1949, allocations: 0 / 450.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.195, allocations: 28.72 kB / 450.2 MB, free: 40.44 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.0007036/0.1958, allocations: 499 kB / 450.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.1959, allocations: 61.48 kB / 450.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.1959, allocations: 0 / 450.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.1959, allocations: 32.86 kB / 450.8 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1961, allocations: 46.44 kB / 450.9 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.1964, allocations: 284.2 kB / 451.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.991e-05/0.1965, allocations: 103.6 kB / 451.2 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.1965, allocations: 16.84 kB / 451.3 MB, free: 39.94 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1965, allocations: 0 / 451.3 MB, free: 39.94 MB / 410.7 MB Notification: Performance of Templates: time 0.002272/0.1988, allocations: 2.084 MB / 453.3 MB, free: 39.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.647275220602751]