Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 195.8 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.513/1.513, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000771/0.0007709, allocations: 96.22 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.403/0.403, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002877, allocations: 12 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3941, allocations: 62.96 MB / 0.5184 GB, free: 37.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.5614, allocations: 90.91 MB / 0.6072 GB, free: 14.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.5617, allocations: 79.95 kB / 0.6073 GB, free: 14.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02636/0.5881, allocations: 9.136 MB / 0.6162 GB, free: 5.156 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.5882, allocations: 4 kB / 0.6162 GB, free: 5.152 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.455e-05/0.5882, allocations: 7.938 kB / 0.6162 GB, free: 5.145 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.001169/0.5894, allocations: 0.5489 MB / 0.6168 GB, free: 4.543 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.5895, allocations: 8.875 kB / 0.6168 GB, free: 4.535 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.5896, allocations: 24.66 kB / 0.6168 GB, free: 4.512 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.5902, allocations: 311.4 kB / 0.6171 GB, free: 4.168 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.5903, allocations: 12.38 kB / 0.6171 GB, free: 4.156 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.5904, allocations: 4.375 kB / 0.6171 GB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.5906, allocations: 114.1 kB / 0.6172 GB, free: 4.031 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.5907, allocations: 4.094 kB / 0.6172 GB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.5907, allocations: 11.94 kB / 0.6172 GB, free: 4.016 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.5907, allocations: 0 / 0.6172 GB, free: 4.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.5909, allocations: 55.89 kB / 0.6173 GB, free: 3.961 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/0.5918, allocations: 484.7 kB / 0.6177 GB, free: 3.434 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.5922, allocations: 126.4 kB / 0.6179 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.5923, allocations: 53.83 kB / 0.6179 GB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.5923, allocations: 3.984 kB / 0.6179 GB, free: 3.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.5926, allocations: 124.1 kB / 0.618 GB, free: 3.094 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/0.5926, allocations: 0 / 0.618 GB, free: 3.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001497/0.5941, allocations: 0.4931 MB / 0.6185 GB, free: 2.594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.5942, allocations: 89.03 kB / 0.6186 GB, free: 2.488 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.5947, allocations: 371.2 kB / 0.619 GB, free: 2.121 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.5948, allocations: 29.7 kB / 0.619 GB, free: 2.086 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.5949, allocations: 148.5 kB / 0.6191 GB, free: 1.938 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.364e-05/0.595, allocations: 71.02 kB / 0.6192 GB, free: 1.867 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.595, allocations: 3.938 kB / 0.6192 GB, free: 1.863 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.5952, allocations: 350.8 kB / 0.6195 GB, free: 1.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.5953, allocations: 59.97 kB / 0.6196 GB, free: 1.453 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.5955, allocations: 87.41 kB / 0.6197 GB, free: 1.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.5958, allocations: 161.9 kB / 0.6198 GB, free: 1.188 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5958, allocations: 4 kB / 0.6198 GB, free: 1.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004865/0.5963, allocations: 229.1 kB / 0.62 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5963, allocations: 4 kB / 0.6201 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.5963, allocations: 4 kB / 0.6201 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5964, allocations: 3.938 kB / 0.6201 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.5965, allocations: 51.86 kB / 0.6201 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.5965, allocations: 3.984 kB / 0.6201 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.5967, allocations: 12.06 kB / 0.6201 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.5967, allocations: 8 kB / 0.6201 GB, free: 0.8672 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.0002218/0.5969, allocations: 158.3 kB / 0.6203 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.597, allocations: 27.72 kB / 0.6203 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.5976, allocations: 269.8 kB / 0.6206 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5976, allocations: 7.938 kB / 0.6206 GB, free: 408 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.5976, allocations: 7.984 kB / 0.6206 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.5977, allocations: 3.984 kB / 0.6206 GB, free: 396 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.599, allocations: 0.7702 MB / 0.6213 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.599, allocations: 4.031 kB / 0.6213 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.5991, allocations: 35.92 kB / 0.6214 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.5991, allocations: 4 kB / 0.6214 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.5991, allocations: 11.98 kB / 0.6214 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.5992, allocations: 4 kB / 0.6214 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5992, allocations: 4 kB / 0.6214 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.5998, allocations: 441.6 kB / 0.6218 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.6, allocations: 124.7 kB / 0.6219 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/0.6001, allocations: 7.984 kB / 0.6219 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.6002, allocations: 12 kB / 0.622 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.6003, allocations: 27.91 kB / 0.622 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.6004, allocations: 8 kB / 0.622 GB, free: 14.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003355/0.6007, allocations: 273.9 kB / 0.6223 GB, free: 14.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6007, allocations: 0 / 0.6223 GB, free: 14.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000426/0.6011, allocations: 67.92 kB / 0.6223 GB, free: 14.49 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.001362/0.6025, allocations: 0.5215 MB / 0.6228 GB, free: 14.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004014/0.6029, allocations: 159.8 kB / 0.623 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6029, allocations: 4 kB / 0.623 GB, free: 13.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.6031, allocations: 87.83 kB / 0.6231 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.6038, allocations: 59.19 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.00117/0.605, allocations: 0.563 MB / 0.6237 GB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.6055, allocations: 0.7718 MB / 0.6244 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.6057, allocations: 49.92 kB / 0.6245 GB, free: 12.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.14e-05/0.6058, allocations: 31.44 kB / 0.6245 GB, free: 12.37 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6058, allocations: 0 / 0.6245 GB, free: 12.37 MB / 442.7 MB Notification: Performance of Templates: time 0.00818/0.614, allocations: 3.19 MB / 0.6276 GB, free: 9.199 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches