Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 200 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001046, allocations: 99.56 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3629/0.3629, allocations: 44.83 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002916, allocations: 8.219 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3509, allocations: 62.96 MB / 0.5184 GB, free: 37.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4795, allocations: 90.7 MB / 0.607 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4798, allocations: 83.94 kB / 0.6071 GB, free: 14.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01959/0.4994, allocations: 6.928 MB / 0.6138 GB, free: 7.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4995, allocations: 0 / 0.6138 GB, free: 7.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.4995, allocations: 4 kB / 0.6139 GB, free: 7.566 MB / 426.7 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.0007335/0.5002, allocations: 474.6 kB / 0.6143 GB, free: 7.051 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5003, allocations: 8.031 kB / 0.6143 GB, free: 7.043 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.5004, allocations: 20.75 kB / 0.6143 GB, free: 7.023 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.5008, allocations: 233.6 kB / 0.6146 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5009, allocations: 8.375 kB / 0.6146 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.5009, allocations: 384 / 0.6146 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.5011, allocations: 66.16 kB / 0.6146 GB, free: 6.676 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5011, allocations: 192 / 0.6146 GB, free: 6.676 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5011, allocations: 3.938 kB / 0.6146 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5011, allocations: 4 kB / 0.6146 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-05/0.5012, allocations: 23.98 kB / 0.6147 GB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.5017, allocations: 312.8 kB / 0.615 GB, free: 6.289 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.502, allocations: 74.36 kB / 0.615 GB, free: 6.207 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.502, allocations: 20.97 kB / 0.615 GB, free: 6.184 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.5021, allocations: 4.062 kB / 0.615 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.5022, allocations: 75.3 kB / 0.6151 GB, free: 6.094 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.5022, allocations: 0 / 0.6151 GB, free: 6.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007783/0.503, allocations: 248.6 kB / 0.6154 GB, free: 5.848 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.5031, allocations: 55.41 kB / 0.6154 GB, free: 5.781 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.5033, allocations: 230.6 kB / 0.6156 GB, free: 5.551 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.5034, allocations: 29.7 kB / 0.6157 GB, free: 5.516 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.5035, allocations: 112.1 kB / 0.6158 GB, free: 5.402 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.5035, allocations: 47.38 kB / 0.6158 GB, free: 5.355 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.5035, allocations: 0 / 0.6158 GB, free: 5.355 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5037, allocations: 330.8 kB / 0.6161 GB, free: 5.023 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.5037, allocations: 27.98 kB / 0.6162 GB, free: 4.996 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.5038, allocations: 45.7 kB / 0.6162 GB, free: 4.945 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.504, allocations: 81.64 kB / 0.6163 GB, free: 4.859 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.504, allocations: 4 kB / 0.6163 GB, free: 4.855 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002374/0.5042, allocations: 129.4 kB / 0.6164 GB, free: 4.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.5043, allocations: 4 kB / 0.6164 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.5043, allocations: 0 / 0.6164 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.5043, allocations: 4 kB / 0.6164 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.185e-05/0.5044, allocations: 19.98 kB / 0.6164 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.5044, allocations: 3.938 kB / 0.6164 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.5044, allocations: 8 kB / 0.6164 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.5045, allocations: 4 kB / 0.6164 GB, free: 4.68 MB / 426.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.5046, allocations: 137.8 kB / 0.6166 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.5046, allocations: 19.8 kB / 0.6166 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.5049, allocations: 151 kB / 0.6167 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5049, allocations: 3.938 kB / 0.6167 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.505, allocations: 4 kB / 0.6167 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.505, allocations: 0 / 0.6167 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006137/0.5056, allocations: 480.1 kB / 0.6172 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5056, allocations: 0 / 0.6172 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.5057, allocations: 15.94 kB / 0.6172 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.5057, allocations: 4 kB / 0.6172 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.5057, allocations: 7.922 kB / 0.6172 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5057, allocations: 4.094 kB / 0.6172 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5057, allocations: 3.938 kB / 0.6172 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.506, allocations: 247.4 kB / 0.6175 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.5061, allocations: 96.92 kB / 0.6176 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.5061, allocations: 7.938 kB / 0.6176 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.5062, allocations: 11.98 kB / 0.6176 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.5062, allocations: 7.984 kB / 0.6176 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.5063, allocations: 8 kB / 0.6176 GB, free: 3.383 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001496/0.5064, allocations: 176.3 kB / 0.6178 GB, free: 3.211 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5064, allocations: 0 / 0.6178 GB, free: 3.211 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000296/0.5067, allocations: 43.94 kB / 0.6178 GB, free: 3.168 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/0.5079, allocations: 0.5158 MB / 0.6183 GB, free: 2.832 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.5081, allocations: 79.91 kB / 0.6184 GB, free: 2.754 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.5082, allocations: 0 / 0.6184 GB, free: 2.754 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.5083, allocations: 51.92 kB / 0.6184 GB, free: 2.703 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.5087, allocations: 40.86 kB / 0.6185 GB, free: 2.664 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.5092, allocations: 323.8 kB / 0.6188 GB, free: 2.316 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.5096, allocations: 0.716 MB / 0.6195 GB, free: 1.574 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.27e-05/0.5096, allocations: 24.64 kB / 0.6195 GB, free: 1.551 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.5097, allocations: 15.44 kB / 0.6195 GB, free: 1.535 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5097, allocations: 0 / 0.6195 GB, free: 1.535 MB / 426.7 MB Notification: Performance of Templates: time 0.004999/0.5147, allocations: 2.027 MB / 0.6215 GB, free: 15.52 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches