Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 204.3 kB / 18.11 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000885/0.0008849, allocations: 99.95 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4002/0.4002, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003046, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3156, allocations: 62.96 MB / 0.5184 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.4324, allocations: 90.9 MB / 0.6072 GB, free: 14.44 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4327, allocations: 79.95 kB / 0.6073 GB, free: 14.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02637/0.4591, allocations: 9.478 MB / 0.6165 GB, free: 4.867 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.4592, allocations: 0 / 0.6165 GB, free: 4.867 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.4592, allocations: 8 kB / 0.6165 GB, free: 4.859 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.0008988/0.4601, allocations: 0.5837 MB / 0.6171 GB, free: 4.223 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4602, allocations: 8.875 kB / 0.6171 GB, free: 4.215 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.4603, allocations: 32.56 kB / 0.6172 GB, free: 4.184 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.4608, allocations: 338.2 kB / 0.6175 GB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.4608, allocations: 8.375 kB / 0.6175 GB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.4609, allocations: 8.375 kB / 0.6175 GB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.4611, allocations: 114 kB / 0.6176 GB, free: 3.676 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4611, allocations: 192 / 0.6176 GB, free: 3.676 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.4611, allocations: 7.938 kB / 0.6176 GB, free: 3.668 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4611, allocations: 4 kB / 0.6176 GB, free: 3.664 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.4613, allocations: 43.95 kB / 0.6177 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/0.462, allocations: 0.5161 MB / 0.6182 GB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.4623, allocations: 130.4 kB / 0.6183 GB, free: 2.906 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.4625, allocations: 49.77 kB / 0.6183 GB, free: 2.852 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.4625, allocations: 3.984 kB / 0.6183 GB, free: 2.848 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.4627, allocations: 117.1 kB / 0.6184 GB, free: 2.715 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 5.02e-06/0.4628, allocations: 4 kB / 0.6184 GB, free: 2.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001295/0.4641, allocations: 0.5122 MB / 0.6189 GB, free: 2.191 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.4641, allocations: 89.03 kB / 0.619 GB, free: 2.086 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005764/0.4647, allocations: 489.6 kB / 0.6195 GB, free: 1.602 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.4648, allocations: 29.7 kB / 0.6195 GB, free: 1.566 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.4649, allocations: 176.5 kB / 0.6197 GB, free: 1.391 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.465, allocations: 67 kB / 0.6198 GB, free: 1.324 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-06/0.465, allocations: 8 kB / 0.6198 GB, free: 1.316 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4652, allocations: 350.8 kB / 0.6201 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.4653, allocations: 59.97 kB / 0.6202 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.4655, allocations: 91.39 kB / 0.6202 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.4657, allocations: 155.4 kB / 0.6204 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4658, allocations: 0 / 0.6204 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000376/0.4661, allocations: 237.4 kB / 0.6206 GB, free: 412 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4662, allocations: 8 kB / 0.6206 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4662, allocations: 0 / 0.6206 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4662, allocations: 4 kB / 0.6206 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.4664, allocations: 55.78 kB / 0.6207 GB, free: 344 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.4664, allocations: 8.062 kB / 0.6207 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.43e-05/0.4665, allocations: 11.94 kB / 0.6207 GB, free: 324 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.4665, allocations: 8 kB / 0.6207 GB, free: 316 kB / 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.0001539/0.4666, allocations: 178.3 kB / 0.6209 GB, free: 128 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.4667, allocations: 39.52 kB / 0.6209 GB, free: 88 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005555/0.4673, allocations: 276.5 kB / 0.6212 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4673, allocations: 11.94 kB / 0.6212 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4673, allocations: 0 / 0.6212 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4673, allocations: 4 kB / 0.6212 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.4684, allocations: 0.8131 MB / 0.622 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4684, allocations: 4.094 kB / 0.622 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.17e-05/0.4685, allocations: 39.86 kB / 0.622 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4685, allocations: 0 / 0.622 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.4685, allocations: 11.98 kB / 0.622 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4685, allocations: 4 kB / 0.6221 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4685, allocations: 4 kB / 0.6221 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.469, allocations: 448 kB / 0.6225 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.4691, allocations: 128.6 kB / 0.6226 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.4692, allocations: 15.98 kB / 0.6226 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.4693, allocations: 8 kB / 0.6226 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.4694, allocations: 35.84 kB / 0.6227 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.4694, allocations: 8 kB / 0.6227 GB, free: 14.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000375/0.4698, allocations: 363.1 kB / 0.623 GB, free: 13.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4698, allocations: 0 / 0.623 GB, free: 13.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003854/0.4702, allocations: 79.92 kB / 0.6231 GB, free: 13.74 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.001133/0.4714, allocations: 0.5227 MB / 0.6236 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003448/0.4717, allocations: 171.7 kB / 0.6238 GB, free: 13.22 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4717, allocations: 0 / 0.6238 GB, free: 13.22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.4719, allocations: 87.84 kB / 0.6239 GB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.4725, allocations: 60.61 kB / 0.6239 GB, free: 13.08 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.4734, allocations: 0.6839 MB / 0.6246 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4738, allocations: 0.7875 MB / 0.6253 GB, free: 11.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.4739, allocations: 45.94 kB / 0.6254 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.474, allocations: 39.36 kB / 0.6254 GB, free: 11.46 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.474, allocations: 0 / 0.6254 GB, free: 11.46 MB / 442.7 MB Notification: Performance of Templates: time 0.00645/0.4804, allocations: 3.431 MB / 0.6288 GB, free: 8.062 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches