Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001803/0.001803, 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.001354/0.001355, 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 1.844/1.844, allocations: 227.4 MB / 247.1 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4657/0.4657, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003058/0.003058, allocations: 77.02 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1772, allocations: 62.44 MB / 480.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.006202/0.1834, allocations: 1.809 MB / 482 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003141/0.1866, allocations: 1.01 MB / 483 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1868, allocations: 4 kB / 483 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.1874, allocations: 87.75 kB / 483.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006071/0.188, allocations: 103.7 kB / 483.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.1884, allocations: 63.83 kB / 483.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.1888, allocations: 123.7 kB / 483.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.189, allocations: 19.98 kB / 483.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.1892, allocations: 55.77 kB / 483.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.1894, allocations: 71.67 kB / 483.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.1895, allocations: 4 kB / 483.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.1898, allocations: 59.98 kB / 483.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1899, allocations: 23.91 kB / 483.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.19, allocations: 47.67 kB / 483.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.1904, allocations: 108 kB / 483.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1904, allocations: 0 / 483.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.1904, allocations: 0 / 483.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1905, allocations: 4 kB / 483.7 MB, free: 2.027 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009689/0.1914, allocations: 442.8 kB / 484.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.1915, allocations: 8.031 kB / 484.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/0.1916, allocations: 12.84 kB / 484.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.192, allocations: 221.5 kB / 484.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.1921, allocations: 8.375 kB / 484.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.1921, allocations: 4.125 kB / 484.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.1924, allocations: 61.66 kB / 484.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.1924, allocations: 4 kB / 484.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.1925, allocations: 0 / 484.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1925, allocations: 4 kB / 484.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.1927, allocations: 27.92 kB / 484.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006597/0.1933, allocations: 304.7 kB / 484.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.1938, allocations: 62.55 kB / 484.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1939, allocations: 32.91 kB / 484.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.194, allocations: 0 / 484.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003449/0.1943, allocations: 75.27 kB / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.494e-06/0.1943, allocations: 0 / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001302/0.1956, allocations: 237 kB / 485.2 MB, free: 388 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.1957, allocations: 63.33 kB / 485.3 MB, free: 312 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.1961, allocations: 238.1 kB / 485.5 MB, free: 64 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.1962, allocations: 33.7 kB / 485.5 MB, free: 24 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1963, allocations: 104.1 kB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.1964, allocations: 39.61 kB / 485.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/0.1965, allocations: 25.72 kB / 485.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1967, allocations: 326.8 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1968, allocations: 27.98 kB / 486 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.197, allocations: 45.7 kB / 486.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.1973, allocations: 81.64 kB / 486.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1973, allocations: 0 / 486.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004713/0.1978, allocations: 133.5 kB / 486.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.1978, allocations: 8 kB / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1979, allocations: 0 / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.1979, allocations: 4.031 kB / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1981, allocations: 19.98 kB / 486.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.1981, allocations: 8.641 kB / 486.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.443e-05/0.1982, allocations: 0 / 486.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.1982, allocations: 8 kB / 486.4 MB, free: 15.17 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 0.000188/0.1984, allocations: 136.4 kB / 486.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.1985, allocations: 15.81 kB / 486.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.23e-05/0.1986, allocations: 21.39 kB / 486.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.1986, allocations: 0 / 486.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.1987, allocations: 7.938 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1987, allocations: 0 / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009737/0.1997, allocations: 455.9 kB / 487 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1997, allocations: 0 / 487 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.1998, allocations: 12 kB / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/0.1998, allocations: 4 kB / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.1999, allocations: 4.047 kB / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.964e-06/0.1999, allocations: 11.94 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1999, allocations: 4.094 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.2004, allocations: 237 kB / 487.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.2005, allocations: 92.91 kB / 487.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.2005, allocations: 4 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.2007, allocations: 8 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.2008, allocations: 11.98 kB / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.2008, allocations: 4 kB / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002487/0.2011, allocations: 176.4 kB / 487.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2011, allocations: 0 / 487.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000558/0.2017, allocations: 28 kB / 487.6 MB, free: 13.85 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 (11): * Single equations (assignments): 9 * 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.002238/0.204, allocations: 0.4999 MB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003735/0.2044, allocations: 87.91 kB / 488.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.2044, allocations: 0 / 488.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.2046, allocations: 43.86 kB / 488.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.2052, allocations: 35.55 kB / 488.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009452/0.2062, allocations: 342.5 kB / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.2067, allocations: 0.7274 MB / 489.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.2067, allocations: 15.44 kB / 489.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2068, allocations: 0 / 489.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.007904/0.2147, allocations: 2.261 MB / 491.6 MB, free: 9.977 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches