Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.001441, allocations: 202 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.433/1.433, 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.0008689/0.0008689, allocations: 105.6 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.3521/0.3521, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003048, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4367, allocations: 62.96 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.5707, allocations: 90.88 MB / 0.6072 GB, free: 14.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5711, allocations: 79.95 kB / 0.6073 GB, free: 14.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02065/0.5917, allocations: 7.243 MB / 0.6143 GB, free: 7.086 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5918, allocations: 3.938 kB / 0.6143 GB, free: 7.082 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.5918, allocations: 8 kB / 0.6143 GB, free: 7.074 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.0006647/0.5925, allocations: 435 kB / 0.6148 GB, free: 6.598 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5926, allocations: 8.031 kB / 0.6148 GB, free: 6.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.5926, allocations: 12.75 kB / 0.6148 GB, free: 6.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.593, allocations: 219.6 kB / 0.615 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.593, allocations: 384 / 0.615 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.593, allocations: 4.375 kB / 0.615 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.5932, allocations: 83.5 kB / 0.6151 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5932, allocations: 0 / 0.6151 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.5933, allocations: 0 / 0.6151 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5933, allocations: 0 / 0.6151 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.497e-05/0.5933, allocations: 19.98 kB / 0.6151 GB, free: 6.211 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.5938, allocations: 300.8 kB / 0.6154 GB, free: 5.867 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.594, allocations: 58.67 kB / 0.6154 GB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.594, allocations: 20.86 kB / 0.6154 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.5941, allocations: 3.984 kB / 0.6154 GB, free: 5.773 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.5942, allocations: 75.31 kB / 0.6155 GB, free: 5.688 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.096e-06/0.5942, allocations: 0 / 0.6155 GB, free: 5.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005643/0.5948, allocations: 177.2 kB / 0.6157 GB, free: 5.508 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.5949, allocations: 85.05 kB / 0.6158 GB, free: 5.406 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.5951, allocations: 166.3 kB / 0.6159 GB, free: 5.234 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.5951, allocations: 29.7 kB / 0.616 GB, free: 5.199 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.5951, allocations: 96.12 kB / 0.616 GB, free: 5.102 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.5952, allocations: 27.64 kB / 0.6161 GB, free: 5.074 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.5952, allocations: 4 kB / 0.6161 GB, free: 5.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5953, allocations: 326.8 kB / 0.6164 GB, free: 4.742 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.5954, allocations: 23.98 kB / 0.6164 GB, free: 4.719 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.5955, allocations: 46.56 kB / 0.6165 GB, free: 4.664 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.5956, allocations: 57.64 kB / 0.6165 GB, free: 4.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5956, allocations: 0 / 0.6165 GB, free: 4.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001859/0.5958, allocations: 101.6 kB / 0.6166 GB, free: 4.496 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5958, allocations: 8.062 kB / 0.6166 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5958, allocations: 0.5625 kB / 0.6166 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5958, allocations: 4 kB / 0.6166 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/0.5959, allocations: 19.88 kB / 0.6166 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.596, allocations: 4 kB / 0.6166 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.596, allocations: 7.984 kB / 0.6167 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.596, allocations: 8 kB / 0.6167 GB, free: 4.445 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.0001038/0.5961, allocations: 117.8 kB / 0.6168 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.5962, allocations: 11.81 kB / 0.6168 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.5964, allocations: 122.3 kB / 0.6169 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5964, allocations: 0 / 0.6169 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5965, allocations: 4 kB / 0.6169 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5965, allocations: 3.984 kB / 0.6169 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.5969, allocations: 403.2 kB / 0.6173 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5969, allocations: 4 kB / 0.6173 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.597, allocations: 11.98 kB / 0.6173 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.597, allocations: 4.031 kB / 0.6173 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.597, allocations: 4 kB / 0.6173 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.597, allocations: 3.938 kB / 0.6173 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.597, allocations: 0 / 0.6173 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.5973, allocations: 208.2 kB / 0.6175 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.5973, allocations: 92.91 kB / 0.6176 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.5974, allocations: 8 kB / 0.6176 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.5975, allocations: 15.86 kB / 0.6176 GB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.5975, allocations: 7.938 kB / 0.6176 GB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.5975, allocations: 7.984 kB / 0.6176 GB, free: 3.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.5976, allocations: 127.2 kB / 0.6178 GB, free: 3.195 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5976, allocations: 0 / 0.6178 GB, free: 3.195 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003278/0.598, allocations: 63.91 kB / 0.6178 GB, free: 3.133 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.001235/0.5992, allocations: 0.5585 MB / 0.6184 GB, free: 2.762 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.5994, allocations: 59.92 kB / 0.6184 GB, free: 2.703 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5994, allocations: 0 / 0.6184 GB, free: 2.703 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.5995, allocations: 31.92 kB / 0.6185 GB, free: 2.672 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.5999, allocations: 32.09 kB / 0.6185 GB, free: 2.641 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.6004, allocations: 218 kB / 0.6187 GB, free: 2.398 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.6006, allocations: 0.7043 MB / 0.6194 GB, free: 1.668 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.966e-05/0.6007, allocations: 16.84 kB / 0.6194 GB, free: 1.652 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.6008, allocations: 19.42 kB / 0.6194 GB, free: 1.633 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6008, allocations: 4 kB / 0.6194 GB, free: 1.629 MB / 426.7 MB Notification: Performance of Templates: time 0.0052/0.606, allocations: 2.3 MB / 0.6217 GB, free: 15.34 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches