Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.668/1.668, allocations: 227.4 MB / 247.1 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2976/0.2976, allocations: 46.12 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 80.42 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1811, allocations: 62.44 MB / 480.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.005211/0.1863, allocations: 1.785 MB / 481.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.189, allocations: 1.009 MB / 483 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1892, allocations: 4 kB / 483 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.1896, allocations: 43.83 kB / 483 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.1902, allocations: 79.73 kB / 483.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.1906, allocations: 67.88 kB / 483.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.1909, allocations: 107.6 kB / 483.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.1911, allocations: 7.984 kB / 483.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1913, allocations: 51.78 kB / 483.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.1915, allocations: 39.78 kB / 483.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.1915, allocations: 4 kB / 483.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.1918, allocations: 39.98 kB / 483.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1919, allocations: 23.91 kB / 483.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.192, allocations: 39.67 kB / 483.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.1924, allocations: 96.09 kB / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1924, allocations: 0 / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1924, allocations: 0 / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.423e-06/0.1924, allocations: 0 / 483.5 MB, free: 2.219 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001052/0.1935, allocations: 425.1 kB / 484 MB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/0.1936, allocations: 12.03 kB / 484 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.1937, allocations: 8.844 kB / 484 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.1942, allocations: 212 kB / 484.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1942, allocations: 384 / 484.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.1943, allocations: 8.125 kB / 484.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.1946, allocations: 57.61 kB / 484.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.1946, allocations: 0 / 484.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.1947, allocations: 0 / 484.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1947, allocations: 4 kB / 484.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1948, allocations: 19.98 kB / 484.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.1954, allocations: 288.9 kB / 484.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.1957, allocations: 62.61 kB / 484.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.965e-05/0.1958, allocations: 16.86 kB / 484.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1959, allocations: 4 kB / 484.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002788/0.1961, allocations: 71.38 kB / 484.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.1962, allocations: 0 / 484.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008369/0.197, allocations: 181.1 kB / 484.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.1971, allocations: 51.41 kB / 484.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.1974, allocations: 210.9 kB / 485.1 MB, free: 440 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1974, allocations: 29.7 kB / 485.2 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.1975, allocations: 104.1 kB / 485.3 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.1976, allocations: 23.66 kB / 485.3 MB, free: 272 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.1977, allocations: 25.7 kB / 485.3 MB, free: 240 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1979, allocations: 330.8 kB / 485.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.406e-05/0.198, allocations: 19.94 kB / 485.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1981, allocations: 37.64 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.1983, allocations: 65.69 kB / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.1984, allocations: 4 kB / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003179/0.1987, allocations: 101.4 kB / 485.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1987, allocations: 4 kB / 485.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.1987, allocations: 4 kB / 485.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1988, allocations: 0 / 485.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1989, allocations: 12 kB / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1989, allocations: 4.141 kB / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.199, allocations: 19.95 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1991, allocations: 4 kB / 485.9 MB, free: 15.61 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.0001483/0.1992, allocations: 129.7 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.1993, allocations: 11.91 kB / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.859e-05/0.1994, allocations: 17.39 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1994, allocations: 0 / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1994, allocations: 0 / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1994, allocations: 7.938 kB / 486.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007013/0.2001, allocations: 403.2 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2001, allocations: 3.984 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.2002, allocations: 8 kB / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2002, allocations: 0 / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.2002, allocations: 3.938 kB / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.2003, allocations: 4 kB / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2003, allocations: 0 / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.2007, allocations: 208.2 kB / 486.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.2008, allocations: 88.92 kB / 486.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.2008, allocations: 3.938 kB / 486.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.201, allocations: 8.375 kB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.201, allocations: 7.984 kB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.2011, allocations: 0 / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.2013, allocations: 156.3 kB / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2013, allocations: 4 kB / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005115/0.2018, allocations: 24.19 kB / 487 MB, free: 14.44 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 (8): * Single equations (assignments): 6 * 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.001889/0.2037, allocations: 466.9 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.204, allocations: 67.91 kB / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.204, allocations: 0 / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2042, allocations: 27.92 kB / 487.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/0.2048, allocations: 34.91 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007968/0.2056, allocations: 297.3 kB / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.2061, allocations: 0.7002 MB / 488.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.2062, allocations: 15.44 kB / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2062, allocations: 0 / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.006585/0.2128, allocations: 1.976 MB / 490.5 MB, free: 10.97 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches