Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, 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.002084/0.002084, 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.403/2.403, 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.4081/0.4081, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002863, allocations: 84.16 kB / 417.5 MB, free: 7.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1776, allocations: 62.43 MB / 479.9 MB, free: 9.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.005467/0.1831, allocations: 1.78 MB / 481.7 MB, free: 7.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.1858, allocations: 1.041 MB / 482.8 MB, free: 6.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.186, allocations: 0 / 482.8 MB, free: 6.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.1864, allocations: 39.84 kB / 482.8 MB, free: 6.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.1869, allocations: 71.73 kB / 482.9 MB, free: 6.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1872, allocations: 59.89 kB / 482.9 MB, free: 6.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.1875, allocations: 111.6 kB / 483 MB, free: 5.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1876, allocations: 15.98 kB / 483.1 MB, free: 5.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1878, allocations: 35.8 kB / 483.1 MB, free: 5.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1879, allocations: 51.7 kB / 483.1 MB, free: 5.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.188, allocations: 0 / 483.1 MB, free: 5.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.1883, allocations: 111.9 kB / 483.3 MB, free: 5.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.1884, allocations: 19.92 kB / 483.3 MB, free: 5.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.1885, allocations: 31.8 kB / 483.3 MB, free: 5.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.1889, allocations: 132 kB / 483.4 MB, free: 5.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1889, allocations: 0 / 483.4 MB, free: 5.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1889, allocations: 0 / 483.4 MB, free: 5.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.189, allocations: 4 kB / 483.4 MB, free: 5.535 MB / 398.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.000945/0.1899, allocations: 427 kB / 483.9 MB, free: 5.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.19, allocations: 8.875 kB / 483.9 MB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.864e-05/0.1901, allocations: 12.75 kB / 483.9 MB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.1904, allocations: 212.2 kB / 484.1 MB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1905, allocations: 8.375 kB / 484.1 MB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.1905, allocations: 8.031 kB / 484.1 MB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.1908, allocations: 71.39 kB / 484.2 MB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1908, allocations: 3.938 kB / 484.2 MB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1908, allocations: 0 / 484.2 MB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1908, allocations: 0 / 484.2 MB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.1909, allocations: 19.98 kB / 484.2 MB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.1915, allocations: 284.8 kB / 484.5 MB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.1918, allocations: 70.55 kB / 484.5 MB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.1919, allocations: 28.97 kB / 484.6 MB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.192, allocations: 0 / 484.6 MB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003609/0.1924, allocations: 71.39 kB / 484.6 MB, free: 4.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.325e-06/0.1924, allocations: 0 / 484.6 MB, free: 4.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001007/0.1934, allocations: 209.4 kB / 484.8 MB, free: 3.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.1935, allocations: 81.11 kB / 484.9 MB, free: 3.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.1938, allocations: 165.5 kB / 485.1 MB, free: 3.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.1938, allocations: 29.7 kB / 485.1 MB, free: 3.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.1939, allocations: 104.1 kB / 485.2 MB, free: 3.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.194, allocations: 31.5 kB / 485.2 MB, free: 3.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.538e-05/0.1941, allocations: 29.7 kB / 485.3 MB, free: 3.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1942, allocations: 322.8 kB / 485.6 MB, free: 3.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1944, allocations: 31.98 kB / 485.6 MB, free: 3.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.1945, allocations: 50.56 kB / 485.7 MB, free: 3.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.1948, allocations: 77.62 kB / 485.7 MB, free: 2.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1948, allocations: 0 / 485.7 MB, free: 2.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004256/0.1952, allocations: 125.5 kB / 485.9 MB, free: 2.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.1953, allocations: 10.59 kB / 485.9 MB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1953, allocations: 4.062 kB / 485.9 MB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.1954, allocations: 4 kB / 485.9 MB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1956, allocations: 23.92 kB / 485.9 MB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1956, allocations: 0 / 485.9 MB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1957, allocations: 11.94 kB / 485.9 MB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1957, allocations: 4 kB / 485.9 MB, free: 2.801 MB / 398.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.0001387/0.1959, allocations: 117.8 kB / 486 MB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.196, allocations: 19.8 kB / 486.1 MB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.196, allocations: 16.72 kB / 486.1 MB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.196, allocations: 0 / 486.1 MB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.1961, allocations: 0 / 486.1 MB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1961, allocations: 7.875 kB / 486.1 MB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007664/0.1969, allocations: 431.2 kB / 486.5 MB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1969, allocations: 0 / 486.5 MB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/0.197, allocations: 15.94 kB / 486.5 MB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.197, allocations: 4.031 kB / 486.5 MB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.197, allocations: 4 kB / 486.5 MB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.197, allocations: 0 / 486.5 MB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1971, allocations: 0 / 486.5 MB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.1975, allocations: 220.1 kB / 486.7 MB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.1976, allocations: 88.95 kB / 486.8 MB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.1976, allocations: 4 kB / 486.8 MB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.1978, allocations: 11.98 kB / 486.8 MB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.1979, allocations: 7.938 kB / 486.9 MB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.1979, allocations: 4 kB / 486.9 MB, free: 1.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1981, allocations: 128.5 kB / 487 MB, free: 1.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1981, allocations: 0 / 487 MB, free: 1.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005766/0.1987, allocations: 52.17 kB / 487 MB, free: 1.582 MB / 398.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 (10): * Single equations (assignments): 8 * 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.002227/0.2009, allocations: 0.5492 MB / 487.6 MB, free: 1.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.2013, allocations: 75.91 kB / 487.7 MB, free: 1.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2013, allocations: 0 / 487.7 MB, free: 1.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.2015, allocations: 35.92 kB / 487.7 MB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.2021, allocations: 35.92 kB / 487.7 MB, free: 1.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/0.203, allocations: 270.9 kB / 488 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.2035, allocations: 0.7087 MB / 488.7 MB, free: 36 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.529e-05/0.2036, allocations: 19.44 kB / 488.7 MB, free: 16 kB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.2036, allocations: 0 / 488.7 MB, free: 16 kB / 398.1 MB Notification: Performance of Templates: time 0.008899/0.2125, allocations: 2.545 MB / 491.3 MB, free: 13.47 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches