Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 196.7 kB / 18.1 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.603/1.603, allocations: 226.5 MB / 245.4 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007659/0.0007659, allocations: 102.3 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3765/0.3765, allocations: 44.81 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.0004203, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4425, allocations: 62.97 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.5746, allocations: 90.61 MB / 0.6069 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.575, allocations: 79.95 kB / 0.607 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01886/0.5938, allocations: 6.404 MB / 0.6132 GB, free: 8.219 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5939, allocations: 0 / 0.6132 GB, free: 8.219 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.5939, allocations: 4 kB / 0.6132 GB, free: 8.215 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.0006691/0.5946, allocations: 450.9 kB / 0.6137 GB, free: 7.723 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.5947, allocations: 8.031 kB / 0.6137 GB, free: 7.715 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.5947, allocations: 16.75 kB / 0.6137 GB, free: 7.699 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.5951, allocations: 224.8 kB / 0.6139 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.5951, allocations: 384 / 0.6139 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.5951, allocations: 8.375 kB / 0.6139 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.5953, allocations: 50.23 kB / 0.614 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5953, allocations: 192 / 0.614 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.5953, allocations: 7.938 kB / 0.614 GB, free: 7.371 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.5954, allocations: 4 kB / 0.614 GB, free: 7.367 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.652e-05/0.5954, allocations: 23.92 kB / 0.614 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.5959, allocations: 292.8 kB / 0.6143 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.5961, allocations: 62.61 kB / 0.6143 GB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.5961, allocations: 16.86 kB / 0.6144 GB, free: 6.918 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.5962, allocations: 11.94 kB / 0.6144 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.5963, allocations: 67.38 kB / 0.6144 GB, free: 6.828 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.5963, allocations: 0 / 0.6144 GB, free: 6.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005812/0.5969, allocations: 181.1 kB / 0.6146 GB, free: 6.645 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.597, allocations: 51.41 kB / 0.6147 GB, free: 6.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.5972, allocations: 195.6 kB / 0.6148 GB, free: 6.383 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.5973, allocations: 25.7 kB / 0.6149 GB, free: 6.352 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.5973, allocations: 116.1 kB / 0.615 GB, free: 6.234 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.5974, allocations: 27.69 kB / 0.615 GB, free: 6.207 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.5974, allocations: 0 / 0.615 GB, free: 6.207 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5976, allocations: 330.8 kB / 0.6153 GB, free: 5.875 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.855e-05/0.5976, allocations: 15.94 kB / 0.6153 GB, free: 5.859 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.23e-05/0.5977, allocations: 37.7 kB / 0.6154 GB, free: 5.816 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.5978, allocations: 65.64 kB / 0.6154 GB, free: 5.746 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5978, allocations: 0 / 0.6154 GB, free: 5.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002182/0.5981, allocations: 109.4 kB / 0.6155 GB, free: 5.633 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.5981, allocations: 6.969 kB / 0.6155 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5981, allocations: 4 kB / 0.6156 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5981, allocations: 0 / 0.6156 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.5982, allocations: 16.36 kB / 0.6156 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5982, allocations: 0 / 0.6156 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.5983, allocations: 4 kB / 0.6156 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.5983, allocations: 12.03 kB / 0.6156 GB, free: 5.594 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.0001278/0.5985, allocations: 134.6 kB / 0.6157 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.5985, allocations: 7.906 kB / 0.6157 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.5988, allocations: 119 kB / 0.6158 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5988, allocations: 4 kB / 0.6158 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5988, allocations: 0 / 0.6158 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5988, allocations: 0 / 0.6158 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.5993, allocations: 423.1 kB / 0.6162 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5993, allocations: 0 / 0.6162 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.5994, allocations: 15.94 kB / 0.6163 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5994, allocations: 0 / 0.6163 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.5994, allocations: 4 kB / 0.6163 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.5994, allocations: 4 kB / 0.6163 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.5994, allocations: 3.938 kB / 0.6163 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.5997, allocations: 216.5 kB / 0.6165 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.5998, allocations: 88.92 kB / 0.6166 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.5998, allocations: 11.98 kB / 0.6166 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.5999, allocations: 0 / 0.6166 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.5999, allocations: 7.938 kB / 0.6166 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.5999, allocations: 7.984 kB / 0.6166 GB, free: 4.457 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.6001, allocations: 147.2 kB / 0.6167 GB, free: 4.312 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6001, allocations: 8 kB / 0.6167 GB, free: 4.305 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000298/0.6004, allocations: 32 kB / 0.6168 GB, free: 4.273 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.001097/0.6015, allocations: 469.2 kB / 0.6172 GB, free: 3.965 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.6017, allocations: 71.89 kB / 0.6173 GB, free: 3.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6017, allocations: 0 / 0.6173 GB, free: 3.895 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.873e-05/0.6018, allocations: 35.92 kB / 0.6173 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.6021, allocations: 21.3 kB / 0.6173 GB, free: 3.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.6027, allocations: 258.2 kB / 0.6176 GB, free: 3.559 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.603, allocations: 0.7082 MB / 0.6183 GB, free: 2.824 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.178e-05/0.6031, allocations: 12.56 kB / 0.6183 GB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.6031, allocations: 23.42 kB / 0.6183 GB, free: 2.789 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6031, allocations: 0 / 0.6183 GB, free: 2.789 MB / 426.7 MB Notification: Performance of Templates: time 0.004857/0.608, allocations: 1.717 MB / 0.62 GB, free: 1.09 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches