Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 196 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.536/1.536, allocations: 226.5 MB / 245.4 MB, free: 8.145 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008371/0.000837, allocations: 101.2 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3592/0.3592, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 12 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3658, allocations: 62.96 MB / 0.5184 GB, free: 37.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.4832, allocations: 90.65 MB / 0.607 GB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4835, allocations: 75.95 kB / 0.607 GB, free: 14.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.018/0.5015, allocations: 6.502 MB / 0.6134 GB, free: 8.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5015, allocations: 0 / 0.6134 GB, free: 8.043 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.5016, allocations: 8 kB / 0.6134 GB, free: 8.035 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.0005656/0.5021, allocations: 442.9 kB / 0.6138 GB, free: 7.551 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5022, allocations: 8.031 kB / 0.6138 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.5022, allocations: 20.73 kB / 0.6138 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.5025, allocations: 224.8 kB / 0.614 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.5026, allocations: 384 / 0.614 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.5026, allocations: 4.375 kB / 0.6141 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.5027, allocations: 54.23 kB / 0.6141 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.5028, allocations: 4.172 kB / 0.6141 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.5028, allocations: 7.922 kB / 0.6141 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.5028, allocations: 0 / 0.6141 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.706e-05/0.5029, allocations: 23.92 kB / 0.6141 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.5032, allocations: 296.9 kB / 0.6144 GB, free: 6.828 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.5034, allocations: 62.61 kB / 0.6145 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.5035, allocations: 20.84 kB / 0.6145 GB, free: 6.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.5035, allocations: 3.938 kB / 0.6145 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.5036, allocations: 71.39 kB / 0.6146 GB, free: 6.648 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.5037, allocations: 0 / 0.6146 GB, free: 6.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005147/0.5042, allocations: 181.5 kB / 0.6147 GB, free: 6.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.5042, allocations: 51.41 kB / 0.6148 GB, free: 6.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.5044, allocations: 200.1 kB / 0.615 GB, free: 6.199 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.5044, allocations: 25.7 kB / 0.615 GB, free: 6.168 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.5045, allocations: 100.1 kB / 0.6151 GB, free: 6.066 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.5045, allocations: 31.69 kB / 0.6151 GB, free: 6.035 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.5045, allocations: 0 / 0.6151 GB, free: 6.035 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5047, allocations: 326.8 kB / 0.6154 GB, free: 5.707 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/0.5047, allocations: 27.92 kB / 0.6155 GB, free: 5.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.5048, allocations: 37.7 kB / 0.6155 GB, free: 5.637 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.5049, allocations: 61.64 kB / 0.6156 GB, free: 5.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.5049, allocations: 4.188 kB / 0.6156 GB, free: 5.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001777/0.5051, allocations: 101.5 kB / 0.6157 GB, free: 5.461 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.5051, allocations: 7.938 kB / 0.6157 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.5051, allocations: 4 kB / 0.6157 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5052, allocations: 7.984 kB / 0.6157 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.5053, allocations: 12 kB / 0.6157 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5053, allocations: 0 / 0.6157 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.486e-05/0.5053, allocations: 8 kB / 0.6157 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5053, allocations: 4 kB / 0.6157 GB, free: 5.418 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 9.922e-05/0.5054, allocations: 140 kB / 0.6158 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.5055, allocations: 7.906 kB / 0.6159 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.5057, allocations: 119 kB / 0.616 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5057, allocations: 4 kB / 0.616 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5057, allocations: 0 / 0.616 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5058, allocations: 3.984 kB / 0.616 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.5062, allocations: 419.2 kB / 0.6164 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5062, allocations: 0 / 0.6164 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.5063, allocations: 15.92 kB / 0.6164 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5063, allocations: 4 kB / 0.6164 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.5063, allocations: 0 / 0.6164 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5063, allocations: 0 / 0.6164 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5063, allocations: 7.938 kB / 0.6164 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.5066, allocations: 208.3 kB / 0.6166 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.062e-05/0.5067, allocations: 96.91 kB / 0.6167 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.5067, allocations: 4 kB / 0.6167 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.5068, allocations: 4 kB / 0.6167 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.5068, allocations: 11.92 kB / 0.6167 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.5068, allocations: 4 kB / 0.6167 GB, free: 4.281 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.5069, allocations: 143.2 kB / 0.6169 GB, free: 4.141 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.507, allocations: 0 / 0.6169 GB, free: 4.141 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.5072, allocations: 39.98 kB / 0.6169 GB, free: 4.102 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.0009601/0.5082, allocations: 479 kB / 0.6173 GB, free: 3.797 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.5084, allocations: 63.91 kB / 0.6174 GB, free: 3.734 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5084, allocations: 4.062 kB / 0.6174 GB, free: 3.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.325e-05/0.5085, allocations: 35.91 kB / 0.6174 GB, free: 3.695 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.5088, allocations: 35.91 kB / 0.6175 GB, free: 3.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.5093, allocations: 258.2 kB / 0.6177 GB, free: 3.379 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.5097, allocations: 0.7004 MB / 0.6184 GB, free: 2.652 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.666e-05/0.5097, allocations: 16.55 kB / 0.6184 GB, free: 2.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.5098, allocations: 15.44 kB / 0.6184 GB, free: 2.621 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5098, allocations: 4 kB / 0.6184 GB, free: 2.617 MB / 426.7 MB Notification: Performance of Templates: time 0.004263/0.5141, allocations: 1.72 MB / 0.6201 GB, free: 0.9141 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches