Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 194.4 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 226.5 MB / 244.1 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007319/0.0007319, allocations: 104.2 kB / 296.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.327/0.327, allocations: 44.82 MB / 393 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003139, allocations: 12 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3477, allocations: 62.95 MB / 0.5165 GB, free: 37.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4764, allocations: 90.91 MB / 0.6053 GB, free: 14.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.4768, allocations: 79.95 kB / 0.6053 GB, free: 14.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02557/0.5024, allocations: 9.305 MB / 0.6144 GB, free: 5.086 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5024, allocations: 0 / 0.6144 GB, free: 5.086 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.5025, allocations: 4 kB / 0.6144 GB, free: 5.082 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.0009369/0.5034, allocations: 0.58 MB / 0.615 GB, free: 4.449 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5035, allocations: 8.031 kB / 0.615 GB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.277e-05/0.5036, allocations: 28.56 kB / 0.615 GB, free: 4.414 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.5041, allocations: 323.9 kB / 0.6153 GB, free: 4.059 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.5042, allocations: 12.36 kB / 0.6154 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.5042, allocations: 4.375 kB / 0.6154 GB, free: 4.043 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.5045, allocations: 111.9 kB / 0.6155 GB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.5045, allocations: 4.094 kB / 0.6155 GB, free: 3.918 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.5045, allocations: 15.88 kB / 0.6155 GB, free: 3.902 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5045, allocations: 0 / 0.6155 GB, free: 3.902 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.5047, allocations: 51.89 kB / 0.6155 GB, free: 3.852 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.5053, allocations: 0.4889 MB / 0.616 GB, free: 3.309 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.5057, allocations: 130.4 kB / 0.6161 GB, free: 3.164 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.5058, allocations: 49.8 kB / 0.6162 GB, free: 3.109 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.5059, allocations: 4 kB / 0.6162 GB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.5061, allocations: 125.1 kB / 0.6163 GB, free: 2.965 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.5061, allocations: 0 / 0.6163 GB, free: 2.965 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001316/0.5075, allocations: 0.5006 MB / 0.6168 GB, free: 2.457 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.5075, allocations: 89.05 kB / 0.6169 GB, free: 2.352 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.5081, allocations: 436.5 kB / 0.6173 GB, free: 1.914 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.5081, allocations: 33.7 kB / 0.6173 GB, free: 1.875 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.5082, allocations: 164.5 kB / 0.6175 GB, free: 1.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/0.5083, allocations: 71.03 kB / 0.6175 GB, free: 1.641 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-06/0.5083, allocations: 0 / 0.6175 GB, free: 1.641 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5084, allocations: 346.8 kB / 0.6179 GB, free: 1.293 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.5086, allocations: 55.97 kB / 0.6179 GB, free: 1.238 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.5087, allocations: 95.39 kB / 0.618 GB, free: 1.133 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.509, allocations: 162.1 kB / 0.6182 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.509, allocations: 0 / 0.6182 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000408/0.5094, allocations: 241.3 kB / 0.6184 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5094, allocations: 7.984 kB / 0.6184 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5094, allocations: 4 kB / 0.6184 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.5095, allocations: 4 kB / 0.6184 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.5096, allocations: 55.8 kB / 0.6185 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.5096, allocations: 240 / 0.6185 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.5097, allocations: 11.98 kB / 0.6185 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.5098, allocations: 8 kB / 0.6185 GB, free: 0.6328 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.000164/0.5099, allocations: 170.3 kB / 0.6187 GB, free: 468 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.51, allocations: 35.62 kB / 0.6187 GB, free: 432 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005129/0.5105, allocations: 280.2 kB / 0.619 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.5105, allocations: 7.938 kB / 0.619 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5105, allocations: 0 / 0.619 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5105, allocations: 0 / 0.619 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.5116, allocations: 0.8013 MB / 0.6198 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5116, allocations: 0 / 0.6198 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.5117, allocations: 35.98 kB / 0.6198 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.5117, allocations: 4 kB / 0.6198 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.5117, allocations: 12.11 kB / 0.6198 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.5117, allocations: 3.938 kB / 0.6198 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5117, allocations: 4 kB / 0.6198 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.5122, allocations: 446.2 kB / 0.6202 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.5123, allocations: 128.7 kB / 0.6204 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.5124, allocations: 8 kB / 0.6204 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.5125, allocations: 11.98 kB / 0.6204 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.5126, allocations: 19.92 kB / 0.6204 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.5126, allocations: 15.98 kB / 0.6204 GB, free: 14.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003613/0.513, allocations: 327 kB / 0.6207 GB, free: 14.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.513, allocations: 4 kB / 0.6207 GB, free: 14.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00039/0.5134, allocations: 63.94 kB / 0.6208 GB, free: 14.15 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.001287/0.5147, allocations: 0.5312 MB / 0.6213 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.5151, allocations: 163.9 kB / 0.6215 GB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5151, allocations: 4 kB / 0.6215 GB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.5152, allocations: 88.03 kB / 0.6215 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.5159, allocations: 62.47 kB / 0.6216 GB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.5169, allocations: 0.6772 MB / 0.6223 GB, free: 12.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.5172, allocations: 0.7836 MB / 0.623 GB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.5173, allocations: 31.44 kB / 0.6231 GB, free: 11.93 MB / 442.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5173, allocations: 0 / 0.6231 GB, free: 11.93 MB / 442.7 MB Notification: Performance of Templates: time 0.006088/0.5234, allocations: 3.931 MB / 0.6269 GB, free: 8.012 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time