Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.RAM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATRAM.dataOut.1.|dLATRAM.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM") translateModel(Modelica.Electrical.Digital.Examples.RAM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATRAM.dataOut.1.|dLATRAM.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007919/0.0007918, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.801e-05, allocations: 0 / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07894/0.07898, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3117/0.3907, allocations: 84.98 MB / 455 MB, free: 8.273 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.3911, allocations: 70.78 kB / 455.1 MB, free: 8.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07876/0.4698, allocations: 39.39 MB / 494.5 MB, free: 2.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.4699, allocations: 3.984 kB / 494.5 MB, free: 2.465 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.813e-05/0.4699, allocations: 12 kB / 494.5 MB, free: 2.453 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001481/0.4714, allocations: 1.336 MB / 495.8 MB, free: 1.016 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4714, allocations: 8.031 kB / 495.8 MB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.4716, allocations: 130.5 kB / 495.9 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/0.4723, allocations: 468.6 kB / 496.4 MB, free: 380 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.4723, allocations: 23.98 kB / 496.4 MB, free: 356 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.4724, allocations: 28.33 kB / 496.5 MB, free: 328 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007463/0.4732, allocations: 0.5755 MB / 497 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4732, allocations: 0 / 497 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.4732, allocations: 11.98 kB / 497 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4733, allocations: 3.938 kB / 497 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/0.4738, allocations: 463.8 kB / 497.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.4751, allocations: 0.9078 MB / 498.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.4758, allocations: 0.7172 MB / 499.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006639/0.4765, allocations: 0.7116 MB / 499.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.4765, allocations: 0 / 499.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007653/0.4773, allocations: 0.7399 MB / 0.4888 GB, free: 12.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 3.296e-06/0.4773, allocations: 0 / 0.4888 GB, free: 12.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.001685/0.479, allocations: 1.569 MB / 0.4904 GB, free: 10.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.4792, allocations: 330.7 kB / 0.4907 GB, free: 10.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.4808, allocations: 1.315 MB / 0.492 GB, free: 8.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.4808, allocations: 37.7 kB / 0.492 GB, free: 8.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.4811, allocations: 286 kB / 0.4923 GB, free: 8.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.398e-05/0.4812, allocations: 78.97 kB / 0.4924 GB, free: 8.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.4812, allocations: 12 kB / 0.4924 GB, free: 8.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4813, allocations: 326 kB / 0.4927 GB, free: 8.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.4818, allocations: 460.2 kB / 0.4931 GB, free: 7.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.4823, allocations: 468.3 kB / 0.4936 GB, free: 7.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.4829, allocations: 0.6493 MB / 0.4942 GB, free: 6.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4829, allocations: 0 / 0.4942 GB, free: 6.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001635/0.4846, allocations: 1.527 MB / 0.4957 GB, free: 4.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.4848, allocations: 307.2 kB / 0.496 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4848, allocations: 0 / 0.496 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4848, allocations: 0 / 0.496 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.841e-05/0.4849, allocations: 11.94 kB / 0.496 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4849, allocations: 0 / 0.496 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.4852, allocations: 31.89 kB / 0.496 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.4854, allocations: 107.9 kB / 0.4961 GB, free: 4.297 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,dLATRAM.nextstate[1],dLATRAM.nextstate[2],dLATRAM.mem_word[1],dLATRAM.mem_word[2],dLATRAM.int_addr,dLATRAM.yy[1],dLATRAM.yy[2],$PRE.dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[1].x,$PRE.dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].y_old,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].t_next,$PRE.dLATRAM.inertialDelaySensitive[2].x,dLATRAM.inertialDelaySensitive[2].x,$PRE.dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].y_old,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].t_next,dLATRAM.dataIn[1],dLATRAM.dataIn[2],dLATRAM.mem[1,1],dLATRAM.mem[1,2],dLATRAM.mem[2,1],dLATRAM.mem[2,2],dLATRAM.mem[3,1],dLATRAM.mem[3,2],dLATRAM.mem[4,1],dLATRAM.mem[4,2],addr_1.y,data_1.y,data_0.y,WE.y,addr_0.y,RE.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 9 * 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.000346/0.4857, allocations: 474.2 kB / 0.4966 GB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4859, allocations: 130.5 kB / 0.4967 GB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.4861, allocations: 183.6 kB / 0.4969 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4862, allocations: 0 / 0.4969 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4862, allocations: 7.953 kB / 0.4969 GB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4862, allocations: 0 / 0.4969 GB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/0.4888, allocations: 2.416 MB / 0.4993 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4888, allocations: 0 / 0.4993 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.856e-06/0.4888, allocations: 0 / 0.4993 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4888, allocations: 4 kB / 0.4993 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.084e-05/0.4889, allocations: 27.98 kB / 0.4993 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.4889, allocations: 11.95 kB / 0.4993 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4889, allocations: 0 / 0.4993 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.4907, allocations: 1.826 MB / 0.5011 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007701/0.4915, allocations: 0.4991 MB / 0.5016 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.4917, allocations: 67.89 kB / 0.5016 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.492, allocations: 27.97 kB / 0.5017 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/0.4931, allocations: 0.6358 MB / 0.5023 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.4933, allocations: 103.9 kB / 0.5024 GB, free: 13.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001323/0.4946, allocations: 1.072 MB / 0.5034 GB, free: 12.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4946, allocations: 0 / 0.5034 GB, free: 12.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005951/0.4952, allocations: 199.9 kB / 0.5036 GB, free: 12.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,dLATRAM.nextstate[1],dLATRAM.nextstate[2],dLATRAM.mem_word[1],dLATRAM.mem_word[2],dLATRAM.int_addr,dLATRAM.yy[1],dLATRAM.yy[2],dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].y_old,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].t_next,dLATRAM.inertialDelaySensitive[2].x,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].y_old,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].t_next,dLATRAM.dataIn[1],dLATRAM.dataIn[2],dLATRAM.mem[1,1],dLATRAM.mem[1,2],dLATRAM.mem[2,1],dLATRAM.mem[2,2],dLATRAM.mem[3,1],dLATRAM.mem[3,2],dLATRAM.mem[4,1],dLATRAM.mem[4,2],addr_1.y,data_1.y,data_0.y,WE.y,addr_0.y,RE.y) * Number of discrete states: 39 (addr_1.y,data_1.y,data_0.y,WE.y,addr_0.y,RE.y,dLATRAM.yy[2],dLATRAM.yy[1],dLATRAM.nextstate[2],dLATRAM.nextstate[1],dLATRAM.mem_word[2],dLATRAM.mem_word[1],dLATRAM.int_addr,dLATRAM.mem[4,2],dLATRAM.mem[4,1],dLATRAM.mem[3,2],dLATRAM.mem[3,1],dLATRAM.mem[2,2],dLATRAM.mem[2,1],dLATRAM.mem[1,2],dLATRAM.mem[1,1],dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].t_next,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].t_next,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATRAM.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 9 * 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 Backend phase and start with SimCode phase: time 0.0006842/0.4959, allocations: 353.1 kB / 0.5039 GB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.4978, allocations: 2.076 MB / 0.506 GB, free: 9.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4978, allocations: 0 / 0.506 GB, free: 9.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.499, allocations: 1.592 MB / 0.5075 GB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.5018, allocations: 0.7165 MB / 0.5082 GB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.5051, allocations: 2.279 MB / 0.5105 GB, free: 5.094 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009452/0.5061, allocations: 1.147 MB / 0.5116 GB, free: 3.918 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002898/0.5064, allocations: 70.88 kB / 0.5116 GB, free: 3.852 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.5064, allocations: 23.44 kB / 0.5117 GB, free: 3.828 MB / 394.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5064, allocations: 0 / 0.5117 GB, free: 3.828 MB / 394.7 MB Notification: Performance of Templates: time 0.2322/0.7387, allocations: 20.95 MB / 0.5321 GB, free: 125.1 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/RAM/RAM.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches