Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.001025, allocations: 201.1 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008542/0.0008542, allocations: 100.7 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3433/0.3433, allocations: 44.83 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.000302, allocations: 8 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4062, allocations: 62.96 MB / 0.5184 GB, free: 37.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.5539, allocations: 90.91 MB / 0.6072 GB, free: 14.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.5543, allocations: 79.94 kB / 0.6073 GB, free: 14.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02655/0.5808, allocations: 9.314 MB / 0.6164 GB, free: 4.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5809, allocations: 0 / 0.6164 GB, free: 4.957 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.5809, allocations: 4 kB / 0.6164 GB, free: 4.953 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.0008544/0.5818, allocations: 0.5683 MB / 0.6169 GB, free: 4.332 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.5818, allocations: 12.88 kB / 0.6169 GB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/0.5819, allocations: 36.56 kB / 0.617 GB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.5824, allocations: 323.9 kB / 0.6173 GB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.5824, allocations: 8.359 kB / 0.6173 GB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.5825, allocations: 12.38 kB / 0.6173 GB, free: 3.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.5827, allocations: 106 kB / 0.6174 GB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.5827, allocations: 12.08 kB / 0.6174 GB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.5827, allocations: 3.938 kB / 0.6174 GB, free: 3.781 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.5828, allocations: 4 kB / 0.6174 GB, free: 3.777 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.5829, allocations: 55.89 kB / 0.6175 GB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.5835, allocations: 0.4889 MB / 0.618 GB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.5839, allocations: 130.4 kB / 0.6181 GB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.584, allocations: 49.81 kB / 0.6181 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.584, allocations: 0 / 0.6181 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.5842, allocations: 121 kB / 0.6182 GB, free: 2.844 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.5842, allocations: 0 / 0.6182 GB, free: 2.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001235/0.5855, allocations: 0.504 MB / 0.6187 GB, free: 2.332 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.5855, allocations: 81.05 kB / 0.6188 GB, free: 2.234 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.586, allocations: 444.5 kB / 0.6192 GB, free: 1.789 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.5861, allocations: 33.7 kB / 0.6193 GB, free: 1.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.912e-05/0.5862, allocations: 164.4 kB / 0.6194 GB, free: 1.586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.5862, allocations: 78.97 kB / 0.6195 GB, free: 1.508 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.5863, allocations: 4 kB / 0.6195 GB, free: 1.504 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5864, allocations: 342.8 kB / 0.6198 GB, free: 1.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.5865, allocations: 55.97 kB / 0.6199 GB, free: 1.105 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.5867, allocations: 91.39 kB / 0.62 GB, free: 1.004 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.5869, allocations: 166.2 kB / 0.6201 GB, free: 0.832 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5869, allocations: 0 / 0.6201 GB, free: 0.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003668/0.5873, allocations: 233.4 kB / 0.6204 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5873, allocations: 8 kB / 0.6204 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5874, allocations: 3.984 kB / 0.6204 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.5874, allocations: 8.062 kB / 0.6204 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.5875, allocations: 51.8 kB / 0.6204 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.5875, allocations: 4 kB / 0.6204 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.642e-05/0.5876, allocations: 8 kB / 0.6204 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.5876, allocations: 11.98 kB / 0.6204 GB, free: 0.5039 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.0001445/0.5878, allocations: 170.3 kB / 0.6206 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.5878, allocations: 31.62 kB / 0.6206 GB, free: 304 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/0.5884, allocations: 289.2 kB / 0.6209 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.5884, allocations: 3.938 kB / 0.6209 GB, free: 0 / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5884, allocations: 4.047 kB / 0.6209 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5884, allocations: 0 / 0.6209 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009708/0.5894, allocations: 0.8013 MB / 0.6217 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5894, allocations: 0 / 0.6217 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.213e-05/0.5895, allocations: 31.98 kB / 0.6217 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5895, allocations: 0 / 0.6217 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.5895, allocations: 8 kB / 0.6217 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.5895, allocations: 11.92 kB / 0.6218 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5895, allocations: 4 kB / 0.6218 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.5901, allocations: 450.5 kB / 0.6222 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5902, allocations: 120.7 kB / 0.6223 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.5902, allocations: 12 kB / 0.6223 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.5904, allocations: 15.98 kB / 0.6223 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.5904, allocations: 23.91 kB / 0.6224 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.5905, allocations: 11.98 kB / 0.6224 GB, free: 14.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003417/0.5908, allocations: 331 kB / 0.6227 GB, free: 14.08 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5908, allocations: 0 / 0.6227 GB, free: 14.08 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003724/0.5912, allocations: 63.94 kB / 0.6227 GB, free: 14.02 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.001136/0.5923, allocations: 0.5259 MB / 0.6233 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003451/0.5927, allocations: 163.9 kB / 0.6234 GB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5927, allocations: 0 / 0.6234 GB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.5929, allocations: 88.03 kB / 0.6235 GB, free: 13.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.5935, allocations: 67.44 kB / 0.6236 GB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.5944, allocations: 0.6444 MB / 0.6242 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.5948, allocations: 0.7719 MB / 0.6249 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.5949, allocations: 53.92 kB / 0.625 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.595, allocations: 35.42 kB / 0.625 GB, free: 11.79 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.595, allocations: 0 / 0.625 GB, free: 11.79 MB / 442.7 MB Notification: Performance of Templates: time 0.006835/0.6019, allocations: 3.332 MB / 0.6283 GB, free: 8.48 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches