Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 176.4 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 241.4 MB, free: 9.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007807/0.0007805, allocations: 95.3 kB / 292.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 11.94 kB / 352.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2758, allocations: 50.41 MB / 402.7 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.3893, allocations: 86.14 MB / 488.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.3896, allocations: 75.95 kB / 489 MB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2631/0.6528, allocations: 39.79 MB / 0.5164 GB, free: 95.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.6528, allocations: 0 / 0.5164 GB, free: 95.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.164e-05/0.6529, allocations: 12.69 kB / 0.5164 GB, free: 95.27 MB / 378.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.001942/0.6548, allocations: 1.535 MB / 0.5179 GB, free: 94.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6549, allocations: 10.59 kB / 0.5179 GB, free: 94.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.6551, allocations: 123.3 kB / 0.518 GB, free: 94.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.6558, allocations: 0.5195 MB / 0.5185 GB, free: 93.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.6558, allocations: 14.27 kB / 0.5185 GB, free: 93.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.6559, allocations: 20.69 kB / 0.5185 GB, free: 93.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/0.6566, allocations: 0.5743 MB / 0.5191 GB, free: 93.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6566, allocations: 192 / 0.5191 GB, free: 93.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.6567, allocations: 17.09 kB / 0.5191 GB, free: 93.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.6567, allocations: 10.38 kB / 0.5191 GB, free: 93.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.6571, allocations: 455.4 kB / 0.5196 GB, free: 93.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.6585, allocations: 0.9177 MB / 0.5205 GB, free: 92.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006755/0.6592, allocations: 0.7131 MB / 0.5211 GB, free: 92.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006068/0.6598, allocations: 0.709 MB / 0.5218 GB, free: 92.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.6599, allocations: 3.844 kB / 0.5218 GB, free: 92.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006156/0.6605, allocations: 0.7273 MB / 0.5226 GB, free: 91.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 2.074e-06/0.6605, allocations: 0 / 0.5226 GB, free: 91.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.001845/0.6624, allocations: 2.034 MB / 0.5245 GB, free: 89.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.6625, allocations: 329.5 kB / 0.5249 GB, free: 89.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.664, allocations: 1.502 MB / 0.5263 GB, free: 87.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.6641, allocations: 41.7 kB / 0.5264 GB, free: 87.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.6643, allocations: 286 kB / 0.5266 GB, free: 87.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.6644, allocations: 84.3 kB / 0.5267 GB, free: 87.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.6644, allocations: 11.98 kB / 0.5267 GB, free: 87.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.204e-05/0.6644, allocations: 325.9 kB / 0.527 GB, free: 87.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.6649, allocations: 456 kB / 0.5275 GB, free: 86.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.6653, allocations: 488.2 kB / 0.5279 GB, free: 86.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008283/0.6661, allocations: 1.282 MB / 0.5292 GB, free: 84.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6661, allocations: 0 / 0.5292 GB, free: 84.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001277/0.6674, allocations: 1.529 MB / 0.5307 GB, free: 83.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.6676, allocations: 307.2 kB / 0.531 GB, free: 82.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.6676, allocations: 3.844 kB / 0.531 GB, free: 82.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.6676, allocations: 0 / 0.531 GB, free: 82.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.558e-05/0.6677, allocations: 4 kB / 0.531 GB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.6677, allocations: 4.062 kB / 0.531 GB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.668, allocations: 39.88 kB / 0.531 GB, free: 82.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.6681, allocations: 97.22 kB / 0.5311 GB, free: 82.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dLATRAM.inertialDelaySensitive[2].y,$PRE.dLATRAM.inertialDelaySensitive[1].y,$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,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,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 () * Number of clocked 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.0007145/0.6688, allocations: 0.8671 MB / 0.532 GB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.6689, allocations: 130.4 kB / 0.5321 GB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.6692, allocations: 193.1 kB / 0.5323 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6692, allocations: 3 kB / 0.5323 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6692, allocations: 0 / 0.5323 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6692, allocations: 0 / 0.5323 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.6713, allocations: 2.434 MB / 0.5347 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6713, allocations: 0 / 0.5347 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.6714, allocations: 4 kB / 0.5347 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.6714, allocations: 0 / 0.5347 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/0.6714, allocations: 43.97 kB / 0.5347 GB, free: 78.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6714, allocations: 0 / 0.5347 GB, free: 78.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6714, allocations: 3.938 kB / 0.5347 GB, free: 78.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.673, allocations: 1.839 MB / 0.5365 GB, free: 76.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005776/0.6736, allocations: 0.4952 MB / 0.537 GB, free: 76.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.6738, allocations: 63.89 kB / 0.537 GB, free: 76.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.674, allocations: 43.81 kB / 0.5371 GB, free: 76.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009277/0.675, allocations: 0.628 MB / 0.5377 GB, free: 75.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.6751, allocations: 110.7 kB / 0.5378 GB, free: 75.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001232/0.6763, allocations: 1.082 MB / 0.5389 GB, free: 74.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6763, allocations: 0 / 0.5389 GB, free: 74.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005729/0.6769, allocations: 202.5 kB / 0.5391 GB, free: 74.36 MB / 378.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) * Number of clocked states: 0 () * 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.0006123/0.6775, allocations: 360.5 kB / 0.5394 GB, free: 74.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.679, allocations: 2.084 MB / 0.5414 GB, free: 71.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.679, allocations: 1.156 kB / 0.5414 GB, free: 71.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009638/0.68, allocations: 1.587 MB / 0.543 GB, free: 70.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.6824, allocations: 0.7263 MB / 0.5437 GB, free: 69.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.6858, allocations: 2.829 MB / 0.5465 GB, free: 66.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.6865, allocations: 1.127 MB / 0.5476 GB, free: 65.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002797/0.6868, allocations: 64.92 kB / 0.5476 GB, free: 65.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.6868, allocations: 23.44 kB / 0.5476 GB, free: 65.38 MB / 378.7 MB Notification: Performance of SimCode: time 6.32e-07/0.6868, allocations: 0 / 0.5476 GB, free: 65.38 MB / 378.7 MB Notification: Performance of Templates: time 0.02546/0.7123, allocations: 21.18 MB / 0.5683 GB, free: 44.22 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/RAM/RAM.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches