Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 195.8 kB / 18.1 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.46/1.46, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009136/0.0009132, allocations: 100.4 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.4456/0.4456, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 15.98 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3471, allocations: 62.95 MB / 0.5184 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.4737, allocations: 90.92 MB / 0.6072 GB, free: 14.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.4739, allocations: 75.95 kB / 0.6073 GB, free: 14.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02538/0.4993, allocations: 9.144 MB / 0.6162 GB, free: 5.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.4994, allocations: 0 / 0.6162 GB, free: 5.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.174e-05/0.4994, allocations: 4 kB / 0.6162 GB, free: 5.156 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009237/0.5004, allocations: 0.5527 MB / 0.6168 GB, free: 4.551 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5004, allocations: 12.88 kB / 0.6168 GB, free: 4.539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.5005, allocations: 28.64 kB / 0.6168 GB, free: 4.512 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.5011, allocations: 303.4 kB / 0.6171 GB, free: 4.176 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.5011, allocations: 4.375 kB / 0.6171 GB, free: 4.172 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.5012, allocations: 8.375 kB / 0.6171 GB, free: 4.164 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.5014, allocations: 115.8 kB / 0.6172 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.5014, allocations: 4.094 kB / 0.6172 GB, free: 4.035 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.5015, allocations: 11.92 kB / 0.6172 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5015, allocations: 4 kB / 0.6172 GB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.5016, allocations: 51.89 kB / 0.6173 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/0.5024, allocations: 480.8 kB / 0.6177 GB, free: 3.445 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.5028, allocations: 130.4 kB / 0.6179 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.5029, allocations: 49.75 kB / 0.6179 GB, free: 3.246 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.503, allocations: 4.156 kB / 0.6179 GB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.5032, allocations: 133 kB / 0.618 GB, free: 3.094 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.5032, allocations: 0 / 0.618 GB, free: 3.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001409/0.5047, allocations: 492.4 kB / 0.6185 GB, free: 2.605 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.5047, allocations: 89.03 kB / 0.6186 GB, free: 2.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.5052, allocations: 371.3 kB / 0.6189 GB, free: 2.133 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.5052, allocations: 33.7 kB / 0.619 GB, free: 2.094 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.5053, allocations: 152.4 kB / 0.6191 GB, free: 1.941 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.02e-05/0.5054, allocations: 67.02 kB / 0.6192 GB, free: 1.875 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-06/0.5054, allocations: 4 kB / 0.6192 GB, free: 1.871 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5056, allocations: 342.8 kB / 0.6195 GB, free: 1.527 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.5057, allocations: 55.97 kB / 0.6196 GB, free: 1.473 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.5058, allocations: 91.41 kB / 0.6197 GB, free: 1.371 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.5061, allocations: 161.1 kB / 0.6198 GB, free: 1.203 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5061, allocations: 0 / 0.6198 GB, free: 1.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004583/0.5066, allocations: 233.1 kB / 0.62 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.5067, allocations: 14.72 kB / 0.62 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5067, allocations: 0 / 0.62 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.5067, allocations: 8 kB / 0.6201 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.5069, allocations: 51.78 kB / 0.6201 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.5069, allocations: 4 kB / 0.6201 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.507, allocations: 8 kB / 0.6201 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.507, allocations: 8 kB / 0.6201 GB, free: 0.8789 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002091/0.5072, allocations: 158.3 kB / 0.6203 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.5073, allocations: 31.72 kB / 0.6203 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006856/0.508, allocations: 281.2 kB / 0.6206 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.508, allocations: 11.92 kB / 0.6206 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5081, allocations: 0 / 0.6206 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5081, allocations: 0 / 0.6206 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.5092, allocations: 0.778 MB / 0.6213 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5092, allocations: 96 / 0.6213 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.5093, allocations: 27.94 kB / 0.6214 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.5094, allocations: 7.984 kB / 0.6214 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.5094, allocations: 8 kB / 0.6214 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.5094, allocations: 7.938 kB / 0.6214 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5094, allocations: 4.125 kB / 0.6214 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.51, allocations: 438.4 kB / 0.6218 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.5101, allocations: 124.7 kB / 0.6219 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.5102, allocations: 11.98 kB / 0.6219 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.5103, allocations: 8 kB / 0.622 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.5104, allocations: 23.91 kB / 0.622 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.5104, allocations: 12 kB / 0.622 GB, free: 14.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003242/0.5108, allocations: 269.9 kB / 0.6222 GB, free: 14.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5108, allocations: 0 / 0.6222 GB, free: 14.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004156/0.5112, allocations: 71.92 kB / 0.6223 GB, free: 14.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001444/0.5126, allocations: 0.5209 MB / 0.6228 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004659/0.5131, allocations: 167.7 kB / 0.623 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5131, allocations: 0 / 0.623 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.5133, allocations: 95.81 kB / 0.6231 GB, free: 13.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.514, allocations: 58.48 kB / 0.6231 GB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.5153, allocations: 0.5622 MB / 0.6237 GB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.5158, allocations: 0.764 MB / 0.6244 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.516, allocations: 45.92 kB / 0.6245 GB, free: 12.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.5161, allocations: 31.44 kB / 0.6245 GB, free: 12.38 MB / 442.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5161, allocations: 0 / 0.6245 GB, free: 12.38 MB / 442.7 MB Notification: Performance of Templates: time 0.007603/0.5237, allocations: 3.199 MB / 0.6276 GB, free: 9.203 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches