Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 200.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.981/1.981, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007715/0.0007715, allocations: 98.7 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3887/0.3887, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002922, allocations: 12 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3399, allocations: 62.96 MB / 0.5184 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.4702, allocations: 90.65 MB / 0.607 GB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.4705, allocations: 71.95 kB / 0.607 GB, free: 14.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01906/0.4896, allocations: 6.451 MB / 0.6133 GB, free: 8.098 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4896, allocations: 0 / 0.6133 GB, free: 8.098 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.4897, allocations: 0 / 0.6133 GB, free: 8.098 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006151/0.4903, allocations: 454.8 kB / 0.6138 GB, free: 7.602 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4903, allocations: 8.031 kB / 0.6138 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.4904, allocations: 16.84 kB / 0.6138 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.4907, allocations: 216 kB / 0.614 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4908, allocations: 384 / 0.614 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.4908, allocations: 4.375 kB / 0.614 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.491, allocations: 54.23 kB / 0.614 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.491, allocations: 192 / 0.614 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.491, allocations: 3.938 kB / 0.6141 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.491, allocations: 0 / 0.6141 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.4911, allocations: 31.91 kB / 0.6141 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.4915, allocations: 292.9 kB / 0.6144 GB, free: 6.895 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.4917, allocations: 62.61 kB / 0.6144 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.4917, allocations: 24.84 kB / 0.6144 GB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.4918, allocations: 3.938 kB / 0.6144 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.4919, allocations: 71.33 kB / 0.6145 GB, free: 6.711 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.4919, allocations: 0 / 0.6145 GB, free: 6.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005666/0.4925, allocations: 177.5 kB / 0.6147 GB, free: 6.531 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.4926, allocations: 51.41 kB / 0.6147 GB, free: 6.469 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.4927, allocations: 183.3 kB / 0.6149 GB, free: 6.277 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.4928, allocations: 25.7 kB / 0.6149 GB, free: 6.246 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.4928, allocations: 104.1 kB / 0.615 GB, free: 6.141 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.4929, allocations: 27.66 kB / 0.6151 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.4929, allocations: 3.938 kB / 0.6151 GB, free: 6.109 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.493, allocations: 326.8 kB / 0.6154 GB, free: 5.781 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.4931, allocations: 23.98 kB / 0.6154 GB, free: 5.758 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.4931, allocations: 33.7 kB / 0.6154 GB, free: 5.719 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.4933, allocations: 65.64 kB / 0.6155 GB, free: 5.648 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.4933, allocations: 4 kB / 0.6155 GB, free: 5.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000185/0.4935, allocations: 105.5 kB / 0.6156 GB, free: 5.535 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4935, allocations: 8 kB / 0.6156 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4935, allocations: 0 / 0.6156 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4935, allocations: 0 / 0.6156 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.4936, allocations: 20 kB / 0.6156 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.4936, allocations: 4 kB / 0.6156 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.4937, allocations: 3.984 kB / 0.6156 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.4937, allocations: 4 kB / 0.6156 GB, free: 5.496 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 (10): * Single equations (assignments): 10 * 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.0001232/0.4938, allocations: 131.6 kB / 0.6158 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.4939, allocations: 7.906 kB / 0.6158 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.4941, allocations: 123 kB / 0.6159 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4942, allocations: 4 kB / 0.6159 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4942, allocations: 0 / 0.6159 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.4942, allocations: 3.984 kB / 0.6159 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.4947, allocations: 415.2 kB / 0.6163 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4947, allocations: 4.281 kB / 0.6163 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.4948, allocations: 8 kB / 0.6163 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4948, allocations: 0 / 0.6163 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.4948, allocations: 15.86 kB / 0.6163 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4948, allocations: 0 / 0.6163 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4948, allocations: 3.938 kB / 0.6163 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.4951, allocations: 208.5 kB / 0.6165 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.4952, allocations: 96.91 kB / 0.6166 GB, free: 4.387 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.4952, allocations: 4 kB / 0.6166 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.4953, allocations: 4 kB / 0.6166 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.4953, allocations: 11.92 kB / 0.6166 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.4954, allocations: 4 kB / 0.6166 GB, free: 4.363 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.4955, allocations: 142 kB / 0.6168 GB, free: 4.227 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4955, allocations: 0 / 0.6168 GB, free: 4.227 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.4958, allocations: 35.88 kB / 0.6168 GB, free: 4.191 MB / 426.7 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 (9): * Single equations (assignments): 7 * 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.001173/0.497, allocations: 469.5 kB / 0.6173 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.4972, allocations: 63.91 kB / 0.6173 GB, free: 3.824 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4972, allocations: 4.062 kB / 0.6173 GB, free: 3.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.4973, allocations: 31.92 kB / 0.6173 GB, free: 3.789 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.4977, allocations: 33.17 kB / 0.6174 GB, free: 3.762 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.4982, allocations: 242.4 kB / 0.6176 GB, free: 3.496 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.4985, allocations: 0.7004 MB / 0.6183 GB, free: 2.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.395e-05/0.4986, allocations: 20.55 kB / 0.6183 GB, free: 2.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.4987, allocations: 15.44 kB / 0.6183 GB, free: 2.734 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4987, allocations: 4 kB / 0.6183 GB, free: 2.73 MB / 426.7 MB Notification: Performance of Templates: time 0.004751/0.5034, allocations: 1.693 MB / 0.62 GB, free: 1.047 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches