Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.001954/0.001954, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.00245/0.00245, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.493/1.493, allocations: 177 MB / 204.1 MB, free: 9.141 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.215/0.215, allocations: 34.25 MB / 294.8 MB, free: 14.51 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 442.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.742e-05, allocations: 2.281 kB / 442.8 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.00308/0.003107, allocations: 1.708 MB / 444.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.005058, allocations: 0.9799 MB / 445.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.005154, allocations: 4 kB / 445.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003926/0.005547, allocations: 35.83 kB / 445.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.005954, allocations: 103.5 kB / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.006241, allocations: 83.55 kB / 445.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.006487, allocations: 107.6 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.006615, allocations: 8 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.006745, allocations: 47.84 kB / 445.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.006861, allocations: 31.89 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.006887, allocations: 8 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.007014, allocations: 47.92 kB / 445.9 MB, free: 2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.378e-05/0.007098, allocations: 23.91 kB / 445.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.007161, allocations: 15.94 kB / 445.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.007446, allocations: 115.6 kB / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.00745, allocations: 0 / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.141e-06/0.007457, allocations: 3.984 kB / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.007464, allocations: 0 / 446.1 MB, free: 1.844 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.0007656/0.00823, allocations: 341.6 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.008284, allocations: 8.031 kB / 446.4 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.008348, allocations: 20.83 kB / 446.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.00868, allocations: 147 kB / 446.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.0087, allocations: 8.312 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.008731, allocations: 8.312 kB / 446.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.00894, allocations: 58.23 kB / 446.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.008956, allocations: 192 / 446.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.008972, allocations: 4.359 kB / 446.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.008982, allocations: 3.938 kB / 446.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.009075, allocations: 19.98 kB / 446.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.009505, allocations: 232.6 kB / 446.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.009704, allocations: 70.55 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.009768, allocations: 20.84 kB / 447 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.009786, allocations: 0 / 447 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.009962, allocations: 71.33 kB / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.009963, allocations: 0 / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006244/0.01059, allocations: 185.3 kB / 447.2 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.01065, allocations: 51.41 kB / 447.3 MB, free: 500 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.01089, allocations: 202.2 kB / 447.5 MB, free: 288 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.01091, allocations: 37.7 kB / 447.5 MB, free: 244 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.01099, allocations: 100.1 kB / 447.6 MB, free: 140 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.01103, allocations: 27.78 kB / 447.6 MB, free: 112 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.01108, allocations: 21.72 kB / 447.7 MB, free: 84 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1826/0.1937, allocations: 323.5 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1938, allocations: 18.03 kB / 448 MB, free: 18.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.44e-05/0.1939, allocations: 39.91 kB / 448 MB, free: 18.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1941, allocations: 66.72 kB / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1941, allocations: 0 / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002418/0.1943, allocations: 103.6 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1943, allocations: 6.766 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1943, allocations: 0 / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.1944, allocations: 1.094 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1945, allocations: 22.5 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.1945, allocations: 6.172 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.1945, allocations: 6.812 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1945, allocations: 2.25 kB / 448.2 MB, free: 18.88 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 0.0001005/0.1946, allocations: 125.8 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1947, allocations: 11.09 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.1949, allocations: 121.5 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1949, allocations: 1.125 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.195, allocations: 4.969 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.195, allocations: 0.5156 kB / 448.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.1954, allocations: 357.1 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1954, allocations: 0 / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.1954, allocations: 10.38 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1954, allocations: 1.125 kB / 448.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1954, allocations: 8.875 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1954, allocations: 4.547 kB / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1954, allocations: 0 / 448.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1957, allocations: 213.6 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.1957, allocations: 16.52 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1957, allocations: 9.469 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.1958, allocations: 2.781 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.1958, allocations: 6.781 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.1959, allocations: 8.047 kB / 449.1 MB, free: 18.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.196, allocations: 149.7 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.196, allocations: 1.125 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.1963, allocations: 26.56 kB / 449.3 MB, free: 18.27 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.001879/0.1982, allocations: 494.5 kB / 449.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1984, allocations: 57.17 kB / 449.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1984, allocations: 0 / 449.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.1985, allocations: 29.05 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1988, allocations: 26.28 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.1993, allocations: 241.6 kB / 450.1 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.968e-05/0.1994, allocations: 93.61 kB / 450.2 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.588e-05/0.1995, allocations: 20.81 kB / 450.2 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.1995, allocations: 17.8 kB / 450.3 MB, free: 17.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1995, allocations: 0 / 450.3 MB, free: 17.81 MB / 366.1 MB Notification: Performance of Templates: time 0.0055/0.205, allocations: 1.851 MB / 452.1 MB, free: 17.58 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.984316259622574]