Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, 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.002256/0.002256, 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.233/2.233, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4078/0.4078, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00295/0.00295, allocations: 80.41 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.177, allocations: 62.45 MB / 480 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00443/0.1815, allocations: 1.789 MB / 481.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.1838, allocations: 1.017 MB / 482.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.747e-05/0.1839, allocations: 4 kB / 482.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.1843, allocations: 47.83 kB / 482.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.1847, allocations: 87.72 kB / 482.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.185, allocations: 67.81 kB / 483 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.1852, allocations: 99.69 kB / 483.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1854, allocations: 8 kB / 483.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1855, allocations: 47.77 kB / 483.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1856, allocations: 47.72 kB / 483.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1856, allocations: 0 / 483.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1858, allocations: 39.98 kB / 483.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.746e-05/0.1859, allocations: 31.91 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.186, allocations: 39.62 kB / 483.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.1862, allocations: 104.1 kB / 483.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1862, allocations: 0 / 483.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1862, allocations: 0 / 483.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1863, allocations: 0 / 483.4 MB, free: 2.277 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.0007836/0.187, allocations: 454.6 kB / 483.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1871, allocations: 12.88 kB / 483.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.1872, allocations: 16.75 kB / 483.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.1875, allocations: 215.9 kB / 484.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1875, allocations: 4.375 kB / 484.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1876, allocations: 8.125 kB / 484.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1878, allocations: 49.67 kB / 484.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1878, allocations: 8 kB / 484.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1878, allocations: 0 / 484.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1878, allocations: 0 / 484.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1879, allocations: 27.92 kB / 484.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.1884, allocations: 300.8 kB / 484.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.1887, allocations: 54.67 kB / 484.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.491e-05/0.1888, allocations: 20.86 kB / 484.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1888, allocations: 0 / 484.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.1891, allocations: 79.3 kB / 484.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.1891, allocations: 0 / 484.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007484/0.1899, allocations: 188.9 kB / 484.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.1899, allocations: 55.41 kB / 484.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.1903, allocations: 284.2 kB / 485.1 MB, free: 348 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1903, allocations: 25.7 kB / 485.1 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.348e-05/0.1904, allocations: 120.1 kB / 485.3 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.1905, allocations: 31.58 kB / 485.3 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.1905, allocations: 21.72 kB / 485.3 MB, free: 132 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1907, allocations: 334.8 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.1908, allocations: 20 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.433e-05/0.1909, allocations: 33.7 kB / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.1911, allocations: 61.64 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1911, allocations: 4 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002715/0.1914, allocations: 97.5 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1914, allocations: 8 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1915, allocations: 0 / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1915, allocations: 384 / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1916, allocations: 23.92 kB / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1916, allocations: 0 / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.1917, allocations: 7.938 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1917, allocations: 8.031 kB / 485.9 MB, free: 15.52 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.0001547/0.1919, allocations: 133.8 kB / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.192, allocations: 23.73 kB / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.192, allocations: 21.41 kB / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.192, allocations: 0 / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1921, allocations: 0 / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1921, allocations: 11.92 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.1927, allocations: 407.3 kB / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1927, allocations: 0 / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.1927, allocations: 8 kB / 486.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1928, allocations: 3.938 kB / 486.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.1928, allocations: 7.938 kB / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1928, allocations: 0 / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1928, allocations: 0 / 486.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.1931, allocations: 212.2 kB / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.1932, allocations: 92.91 kB / 486.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.1932, allocations: 3.938 kB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1934, allocations: 4 kB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.1934, allocations: 11.98 kB / 486.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1935, allocations: 0 / 486.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000248/0.1937, allocations: 216.6 kB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1937, allocations: 4 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004364/0.1942, allocations: 24.19 kB / 487 MB, free: 14.25 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.001557/0.1957, allocations: 461.3 kB / 487.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.196, allocations: 55.97 kB / 487.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.196, allocations: 4.062 kB / 487.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.1961, allocations: 31.92 kB / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.1967, allocations: 27.92 kB / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.1975, allocations: 367.1 kB / 488 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.1979, allocations: 0.72 MB / 488.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.198, allocations: 19.44 kB / 488.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.244e-06/0.198, allocations: 0 / 488.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Templates: time 0.005766/0.2038, allocations: 2.119 MB / 490.8 MB, free: 10.56 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches