Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001957/0.001957, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002481/0.002481, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.337/2.337, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2854/0.2854, allocations: 46.09 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003265/0.003265, allocations: 80.36 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.184, allocations: 62.45 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004231/0.1883, allocations: 1.742 MB / 481.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.1908, allocations: 0.9939 MB / 482.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.1909, allocations: 4 kB / 482.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.1913, allocations: 59.8 kB / 482.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.1917, allocations: 83.72 kB / 482.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.192, allocations: 59.89 kB / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1922, allocations: 103.6 kB / 483 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.1923, allocations: 4.234 kB / 483 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1924, allocations: 43.8 kB / 483 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1926, allocations: 27.84 kB / 483.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1926, allocations: 4 kB / 483.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1927, allocations: 31.97 kB / 483.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.1928, allocations: 31.8 kB / 483.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.1929, allocations: 35.69 kB / 483.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.1931, allocations: 96.09 kB / 483.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1931, allocations: 0 / 483.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1931, allocations: 0 / 483.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1932, allocations: 0 / 483.3 MB, free: 2.395 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006903/0.1939, allocations: 430.9 kB / 483.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1939, allocations: 12.86 kB / 483.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.194, allocations: 16.75 kB / 483.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.1943, allocations: 224.8 kB / 483.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1944, allocations: 4.375 kB / 483.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1944, allocations: 4.125 kB / 483.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1946, allocations: 49.67 kB / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1946, allocations: 7.938 kB / 484 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1946, allocations: 4 kB / 484 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1946, allocations: 0 / 484 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.503e-05/0.1947, allocations: 12 kB / 484 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.195, allocations: 185.7 kB / 484.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.1952, allocations: 62.55 kB / 484.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.1953, allocations: 20.8 kB / 484.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1954, allocations: 4 kB / 484.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.1956, allocations: 67.39 kB / 484.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.834e-06/0.1957, allocations: 0 / 484.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004033/0.1961, allocations: 101.4 kB / 484.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.1961, allocations: 59.34 kB / 484.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.1965, allocations: 263 kB / 484.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.1966, allocations: 37.7 kB / 484.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.1966, allocations: 108.1 kB / 484.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.1967, allocations: 7.906 kB / 484.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.1968, allocations: 21.7 kB / 484.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1969, allocations: 330.8 kB / 485.2 MB, free: 188 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.49e-05/0.197, allocations: 8 kB / 485.3 MB, free: 180 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/0.1971, allocations: 29.7 kB / 485.3 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1973, allocations: 45.7 kB / 485.3 MB, free: 92 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1973, allocations: 3.938 kB / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000274/0.1976, allocations: 89.48 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.1976, allocations: 8 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1976, allocations: 0 / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1976, allocations: 3.984 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1978, allocations: 15.88 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1978, allocations: 0 / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.1979, allocations: 15.88 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1979, allocations: 4.156 kB / 485.5 MB, free: 15.95 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 (7): * Single equations (assignments): 7 * 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.0001449/0.1981, allocations: 133.8 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.1981, allocations: 11.91 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.1982, allocations: 20.98 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1982, allocations: 0 / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1982, allocations: 0 / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1982, allocations: 0 / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.1984, allocations: 213.7 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1985, allocations: 4 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.1985, allocations: 8 kB / 485.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1985, allocations: 0 / 485.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1985, allocations: 3.984 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.1986, allocations: 3.984 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1986, allocations: 0 / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.1988, allocations: 112.9 kB / 486 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.1989, allocations: 92.92 kB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.199, allocations: 4 kB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-05/0.199, allocations: 0 / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.1991, allocations: 7.984 kB / 486.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.1991, allocations: 4 kB / 486.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.1994, allocations: 200.4 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1994, allocations: 0 / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003541/0.1998, allocations: 27.98 kB / 486.3 MB, free: 15.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001721/0.2015, allocations: 401.8 kB / 486.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.2017, allocations: 47.92 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2018, allocations: 3.938 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/0.2019, allocations: 16 kB / 486.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.2025, allocations: 35.91 kB / 486.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/0.2033, allocations: 318 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.2037, allocations: 0.7121 MB / 487.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.2038, allocations: 11.44 kB / 487.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2038, allocations: 0 / 487.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of Templates: time 0.006382/0.2102, allocations: 1.876 MB / 489.7 MB, free: 11.69 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches