Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001728/0.001728, allocations: 85.78 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.00211/0.00211, allocations: 159.3 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.527/1.527, allocations: 177 MB / 204.1 MB, free: 9.152 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.2242/0.2242, allocations: 34.26 MB / 294.8 MB, free: 14.52 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 442.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.978e-05, allocations: 8.75 kB / 442.8 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003668/0.003698, allocations: 1.727 MB / 444.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.005737, allocations: 0.9852 MB / 445.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.005838, allocations: 0 / 445.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.006228, allocations: 107.6 kB / 445.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.006711, allocations: 127.4 kB / 445.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.007004, allocations: 83.61 kB / 445.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.007307, allocations: 127.6 kB / 445.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.007431, allocations: 11.98 kB / 445.9 MB, free: 2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.00761, allocations: 67.81 kB / 446 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.00777, allocations: 71.78 kB / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.007796, allocations: 7.938 kB / 446.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.00795, allocations: 59.92 kB / 446.1 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.008024, allocations: 27.91 kB / 446.1 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.008081, allocations: 23.88 kB / 446.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.008393, allocations: 143.5 kB / 446.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.008398, allocations: 4 kB / 446.3 MB, free: 1.602 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.008399, allocations: 0 / 446.3 MB, free: 1.602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.008405, allocations: 0 / 446.3 MB, free: 1.602 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007314/0.009136, allocations: 377.3 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.009178, allocations: 12.03 kB / 446.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.009241, allocations: 12.84 kB / 446.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.009589, allocations: 165.2 kB / 446.9 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.009607, allocations: 384 / 446.9 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.009641, allocations: 4.375 kB / 446.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.009836, allocations: 66.2 kB / 446.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.009851, allocations: 4.188 kB / 446.9 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.009866, allocations: 4.375 kB / 446.9 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.009875, allocations: 7.938 kB / 447 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.288e-05/0.009968, allocations: 23.92 kB / 447 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.01042, allocations: 252.5 kB / 447.2 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.01072, allocations: 54.55 kB / 447.3 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.0108, allocations: 24.97 kB / 447.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.01082, allocations: 4 kB / 447.3 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.01105, allocations: 79.25 kB / 447.4 MB, free: 428 kB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.01105, allocations: 4 kB / 447.4 MB, free: 424 kB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008988/0.01195, allocations: 257.1 kB / 447.6 MB, free: 160 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.01199, allocations: 55.41 kB / 447.7 MB, free: 92 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1813/0.1933, allocations: 246.4 kB / 447.9 MB, free: 19.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.1934, allocations: 27.39 kB / 448 MB, free: 19.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.1934, allocations: 115 kB / 448.1 MB, free: 19.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.1935, allocations: 37.59 kB / 448.1 MB, free: 19.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.1935, allocations: 23.89 kB / 448.1 MB, free: 19.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.1936, allocations: 328.7 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.1937, allocations: 32.56 kB / 448.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.514e-05/0.1938, allocations: 45.62 kB / 448.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1939, allocations: 81.59 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1939, allocations: 3.875 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002711/0.1942, allocations: 137 kB / 448.7 MB, free: 18.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1942, allocations: 5.062 kB / 448.8 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1942, allocations: 1.125 kB / 448.8 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1942, allocations: 4.938 kB / 448.8 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1943, allocations: 24.72 kB / 448.8 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1943, allocations: 3.812 kB / 448.8 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.1944, allocations: 6.453 kB / 448.8 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1944, allocations: 7.969 kB / 448.8 MB, free: 18.75 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 (13): * Single equations (assignments): 13 * 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.819e-05/0.1945, allocations: 133.9 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.1945, allocations: 16.3 kB / 448.9 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.1948, allocations: 156.9 kB / 449.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1949, allocations: 5.969 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1949, allocations: 0.6562 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1949, allocations: 0.6094 kB / 449.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.1954, allocations: 409.2 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.1954, allocations: 4.875 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.1954, allocations: 16.17 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1954, allocations: 1.188 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1954, allocations: 3.234 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1954, allocations: 1.797 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1954, allocations: 1.094 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1957, allocations: 253.2 kB / 449.8 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.1957, allocations: 15.42 kB / 449.8 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1957, allocations: 7.312 kB / 449.8 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.1958, allocations: 5.031 kB / 449.8 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.1959, allocations: 10.38 kB / 449.8 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.1959, allocations: 5.344 kB / 449.8 MB, free: 18.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.196, allocations: 196.7 kB / 450 MB, free: 17.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.196, allocations: 0 / 450 MB, free: 17.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.1963, allocations: 32.27 kB / 450 MB, free: 17.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002056/0.1984, allocations: 0.548 MB / 450.6 MB, free: 17.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1986, allocations: 78.08 kB / 450.7 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1986, allocations: 4.438 kB / 450.7 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.344e-05/0.1987, allocations: 39.77 kB / 450.7 MB, free: 17.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.1991, allocations: 31.44 kB / 450.7 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.1996, allocations: 304.2 kB / 451 MB, free: 17.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.896e-05/0.1996, allocations: 108.8 kB / 451.1 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.707e-05/0.1997, allocations: 25.39 kB / 451.2 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.1997, allocations: 18.81 kB / 451.2 MB, free: 17.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1997, allocations: 0 / 451.2 MB, free: 17.42 MB / 366.1 MB Notification: Performance of Templates: time 0.005655/0.2054, allocations: 2.104 MB / 453.3 MB, free: 17.15 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.989907316863537]