Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001542/0.001542, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001858/0.001858, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.213/2.213, allocations: 227.4 MB / 247.1 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3885/0.3885, allocations: 46.1 MB / 344.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002957/0.002957, allocations: 82.94 kB / 417.7 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.178, allocations: 62.44 MB / 480.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.005823/0.1839, allocations: 1.801 MB / 482 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.187, allocations: 1.017 MB / 483 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1872, allocations: 0 / 483 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.1877, allocations: 107.7 kB / 483.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005548/0.1883, allocations: 111.7 kB / 483.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.1887, allocations: 59.88 kB / 483.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.1891, allocations: 135.6 kB / 483.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.1893, allocations: 16 kB / 483.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.1895, allocations: 63.7 kB / 483.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.1898, allocations: 75.73 kB / 483.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.1898, allocations: 4 kB / 483.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.19, allocations: 55.98 kB / 483.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.947e-05/0.1902, allocations: 35.84 kB / 483.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1903, allocations: 55.59 kB / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1906, allocations: 116.1 kB / 483.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1906, allocations: 0 / 483.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1907, allocations: 0 / 483.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1907, allocations: 4 kB / 483.8 MB, free: 1.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009742/0.1917, allocations: 454.6 kB / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.1917, allocations: 8.031 kB / 484.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.1918, allocations: 12.84 kB / 484.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.1922, allocations: 228.9 kB / 484.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1923, allocations: 4.312 kB / 484.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.1923, allocations: 8.125 kB / 484.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.1926, allocations: 73.59 kB / 484.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1927, allocations: 4 kB / 484.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.1927, allocations: 0 / 484.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1927, allocations: 0 / 484.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.1929, allocations: 31.98 kB / 484.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.1935, allocations: 312.7 kB / 484.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.194, allocations: 82.52 kB / 485 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1941, allocations: 24.86 kB / 485 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1941, allocations: 0 / 485 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/0.1945, allocations: 87.48 kB / 485.1 MB, free: 472 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.865e-06/0.1945, allocations: 4 kB / 485.1 MB, free: 468 kB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001329/0.1959, allocations: 273 kB / 485.4 MB, free: 188 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.1959, allocations: 63.34 kB / 485.4 MB, free: 112 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.1964, allocations: 255.8 kB / 485.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1964, allocations: 29.7 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1965, allocations: 112.1 kB / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.1966, allocations: 43.44 kB / 485.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.124e-05/0.1967, allocations: 29.7 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1969, allocations: 326.8 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.197, allocations: 31.98 kB / 486.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.1972, allocations: 57.2 kB / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.1975, allocations: 93.58 kB / 486.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1975, allocations: 0 / 486.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004348/0.198, allocations: 137.5 kB / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.198, allocations: 11.94 kB / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.198, allocations: 3.984 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1981, allocations: 0 / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1982, allocations: 24.03 kB / 486.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1983, allocations: 3.938 kB / 486.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.958e-05/0.1983, allocations: 11.98 kB / 486.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1984, allocations: 4 kB / 486.6 MB, free: 14.91 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 (14): * Single equations (assignments): 14 * 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.0001792/0.1986, allocations: 140 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.1986, allocations: 19.75 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.979e-05/0.1987, allocations: 29.39 kB / 486.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1988, allocations: 0 / 486.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.1988, allocations: 7.938 kB / 486.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1988, allocations: 0 / 486.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000906/0.1997, allocations: 479.9 kB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1997, allocations: 7.875 kB / 487.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1998, allocations: 16 kB / 487.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1999, allocations: 0 / 487.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.1999, allocations: 7.984 kB / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1999, allocations: 4.062 kB / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1999, allocations: 0 / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.2004, allocations: 248.9 kB / 487.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.2005, allocations: 88.92 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.2006, allocations: 4 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.2007, allocations: 8 kB / 487.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.2008, allocations: 7.984 kB / 487.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.2008, allocations: 8 kB / 487.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.2011, allocations: 197.4 kB / 487.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2011, allocations: 0 / 487.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004806/0.2016, allocations: 36 kB / 487.9 MB, free: 13.52 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.001988/0.2036, allocations: 0.4969 MB / 488.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.204, allocations: 99.84 kB / 488.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2041, allocations: 4 kB / 488.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.2043, allocations: 39.92 kB / 488.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006163/0.2049, allocations: 35.91 kB / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.2059, allocations: 386.5 kB / 488.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.2063, allocations: 0.7279 MB / 489.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.2064, allocations: 19.44 kB / 489.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2064, allocations: 0 / 489.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of Templates: time 0.006711/0.2131, allocations: 2.412 MB / 492.1 MB, free: 9.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches