Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, allocations: 84.64 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 157.8 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.549e-05, allocations: 8.953 kB / 442.8 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003324/0.003349, allocations: 1.712 MB / 444.5 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.005359, allocations: 0.9775 MB / 445.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.005452, allocations: 0 / 445.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.005748, allocations: 35.77 kB / 445.5 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.006129, allocations: 99.47 kB / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.0064, allocations: 83.55 kB / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.006616, allocations: 103.7 kB / 445.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.006716, allocations: 11.98 kB / 445.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.006826, allocations: 51.78 kB / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.00691, allocations: 35.89 kB / 445.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.006933, allocations: 4 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.007044, allocations: 39.98 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.007109, allocations: 19.88 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.00716, allocations: 23.91 kB / 445.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.007389, allocations: 115.6 kB / 446.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007392, allocations: 0 / 446.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007393, allocations: 0 / 446.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.007397, allocations: 0 / 446.1 MB, free: 1.891 MB / 366.1 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.0006242/0.008021, allocations: 345.5 kB / 446.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.008064, allocations: 19.97 kB / 446.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.008115, allocations: 12.84 kB / 446.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.008388, allocations: 147 kB / 446.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.008401, allocations: 12.3 kB / 446.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.008429, allocations: 8.359 kB / 446.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.008598, allocations: 54.23 kB / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.008611, allocations: 192 / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.00862, allocations: 384 / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.008627, allocations: 3.938 kB / 446.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.008709, allocations: 19.98 kB / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.009124, allocations: 240.5 kB / 446.9 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.009323, allocations: 58.67 kB / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.618e-05/0.009389, allocations: 20.86 kB / 447 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.009402, allocations: 0 / 447 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.009585, allocations: 79.25 kB / 447.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.009587, allocations: 0 / 447.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006709/0.01026, allocations: 177.4 kB / 447.2 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.01031, allocations: 59.34 kB / 447.3 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.01055, allocations: 206.2 kB / 447.5 MB, free: 324 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.01058, allocations: 29.7 kB / 447.5 MB, free: 288 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.01066, allocations: 104.1 kB / 447.6 MB, free: 180 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.0107, allocations: 23.8 kB / 447.6 MB, free: 156 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.01076, allocations: 29.7 kB / 447.7 MB, free: 120 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1827/0.1935, allocations: 322.8 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1936, allocations: 16.48 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-05/0.1937, allocations: 39.2 kB / 448 MB, free: 18.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1938, allocations: 61.41 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1938, allocations: 1.062 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002214/0.194, allocations: 109.4 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1941, allocations: 5.938 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1941, allocations: 2.188 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.1941, allocations: 4.781 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1942, allocations: 15.42 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1942, allocations: 0.5625 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.1943, allocations: 3.359 kB / 448.2 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1943, allocations: 9.297 kB / 448.2 MB, free: 18.9 MB / 366.1 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 8.745e-05/0.1943, allocations: 126.2 kB / 448.4 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.1944, allocations: 13.16 kB / 448.4 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.1946, allocations: 126.5 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1946, allocations: 5.844 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1946, allocations: 5.25 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1946, allocations: 0.75 kB / 448.5 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.195, allocations: 347.1 kB / 448.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.195, allocations: 1.281 kB / 448.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.1951, allocations: 10.12 kB / 448.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-05/0.1951, allocations: 1.969 kB / 448.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1951, allocations: 7.344 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1951, allocations: 1 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1951, allocations: 4.844 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.1953, allocations: 211.1 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.1953, allocations: 14.23 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.1954, allocations: 5.828 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.1954, allocations: 3.703 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1955, allocations: 14.97 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1955, allocations: 3.703 kB / 449.1 MB, free: 18.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.1956, allocations: 149.6 kB / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1956, allocations: 0 / 449.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1959, allocations: 28.22 kB / 449.3 MB, free: 18.29 MB / 366.1 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.001773/0.1976, allocations: 489.9 kB / 449.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.1978, allocations: 60.53 kB / 449.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1978, allocations: 0 / 449.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.574e-05/0.1979, allocations: 33.27 kB / 449.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1983, allocations: 24.72 kB / 449.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.1987, allocations: 242.7 kB / 450.1 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.049e-05/0.1987, allocations: 93.77 kB / 450.2 MB, free: 17.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.875e-05/0.1988, allocations: 20.27 kB / 450.2 MB, free: 17.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.1988, allocations: 21.95 kB / 450.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1988, allocations: 0 / 450.3 MB, free: 17.84 MB / 366.1 MB Notification: Performance of Templates: time 0.005343/0.2042, allocations: 1.848 MB / 452.1 MB, free: 17.6 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.023559544235468]