Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.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) 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(Modelica.Electrical.Digital.Examples.RAM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATRAM.dataOut.1.|dLATRAM.dataOut.2.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.179/1.179, allocations: 227.2 MB / 245 MB, free: 7.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008444/0.0008444, allocations: 99.44 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002149/0.0002152, allocations: 8 kB / 357.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1982, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09439/0.2926, allocations: 86.89 MB / 496.3 MB, free: 3.719 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.2929, allocations: 71.95 kB / 496.4 MB, free: 3.648 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2201/0.513, allocations: 39.84 MB / 0.5236 GB, free: 88.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.513, allocations: 4 kB / 0.5236 GB, free: 88.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.374e-05/0.5131, allocations: 12 kB / 0.5237 GB, free: 88.47 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.001689/0.5147, allocations: 1.551 MB / 0.5252 GB, free: 86.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.5148, allocations: 8.031 kB / 0.5252 GB, free: 86.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.515, allocations: 122.5 kB / 0.5253 GB, free: 86.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.5157, allocations: 483.2 kB / 0.5258 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.5158, allocations: 16 kB / 0.5258 GB, free: 86.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.5158, allocations: 19.94 kB / 0.5258 GB, free: 86.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.5165, allocations: 0.5832 MB / 0.5264 GB, free: 85.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5165, allocations: 0 / 0.5264 GB, free: 85.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.5166, allocations: 16 kB / 0.5264 GB, free: 85.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5166, allocations: 4.344 kB / 0.5264 GB, free: 85.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004404/0.517, allocations: 477.9 kB / 0.5268 GB, free: 85.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.5184, allocations: 0.9109 MB / 0.5277 GB, free: 84.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.519, allocations: 0.7288 MB / 0.5284 GB, free: 83.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.519, allocations: 0 / 0.5284 GB, free: 83.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006241/0.5196, allocations: 0.7471 MB / 0.5292 GB, free: 82.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 1.803e-06/0.5197, allocations: 0 / 0.5292 GB, free: 82.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.001869/0.5215, allocations: 2.303 MB / 0.5314 GB, free: 80.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.5216, allocations: 330.7 kB / 0.5317 GB, free: 79.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.523, allocations: 1.313 MB / 0.533 GB, free: 78.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.5231, allocations: 45.69 kB / 0.5331 GB, free: 78.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.5232, allocations: 281.9 kB / 0.5333 GB, free: 78.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.5233, allocations: 90.05 kB / 0.5334 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.5233, allocations: 16 kB / 0.5334 GB, free: 78.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.5234, allocations: 318 kB / 0.5337 GB, free: 77.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.5238, allocations: 464.1 kB / 0.5342 GB, free: 77.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.5243, allocations: 0.4975 MB / 0.5347 GB, free: 76.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.5247, allocations: 0.6514 MB / 0.5353 GB, free: 76.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5247, allocations: 4 kB / 0.5353 GB, free: 76.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001298/0.526, allocations: 1.537 MB / 0.5368 GB, free: 74.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.5262, allocations: 307.2 kB / 0.5371 GB, free: 74.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5262, allocations: 0 / 0.5371 GB, free: 74.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5262, allocations: 4 kB / 0.5371 GB, free: 74.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.353e-05/0.5262, allocations: 3.984 kB / 0.5371 GB, free: 74.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5262, allocations: 0 / 0.5371 GB, free: 74.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.5265, allocations: 35.89 kB / 0.5371 GB, free: 74.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.5267, allocations: 108 kB / 0.5372 GB, free: 73.98 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.0006845/0.5274, allocations: 0.8608 MB / 0.5381 GB, free: 73.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.5275, allocations: 134.4 kB / 0.5382 GB, free: 72.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.5277, allocations: 183.9 kB / 0.5384 GB, free: 72.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.5277, allocations: 0 / 0.5384 GB, free: 72.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5277, allocations: 4 kB / 0.5384 GB, free: 72.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.5277, allocations: 0 / 0.5384 GB, free: 72.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.5299, allocations: 2.443 MB / 0.5408 GB, free: 70.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5299, allocations: 0 / 0.5408 GB, free: 70.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-06/0.5299, allocations: 4 kB / 0.5408 GB, free: 70.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5299, allocations: 4 kB / 0.5408 GB, free: 70.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/0.53, allocations: 35.97 kB / 0.5408 GB, free: 70.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.53, allocations: 7.938 kB / 0.5408 GB, free: 70.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.53, allocations: 0 / 0.5408 GB, free: 70.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.5315, allocations: 1.853 MB / 0.5426 GB, free: 68.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006857/0.5322, allocations: 0.4913 MB / 0.5431 GB, free: 67.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.5323, allocations: 67.95 kB / 0.5432 GB, free: 67.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.5326, allocations: 31.92 kB / 0.5432 GB, free: 67.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008868/0.5335, allocations: 0.628 MB / 0.5438 GB, free: 66.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.5336, allocations: 111.3 kB / 0.5439 GB, free: 66.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001077/0.5347, allocations: 1.082 MB / 0.545 GB, free: 65.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5347, allocations: 0 / 0.545 GB, free: 65.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005601/0.5353, allocations: 192 kB / 0.5452 GB, free: 65.59 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.0006194/0.5359, allocations: 365.5 kB / 0.5455 GB, free: 65.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.5373, allocations: 2.103 MB / 0.5476 GB, free: 63.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5373, allocations: 0 / 0.5476 GB, free: 63.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008966/0.5382, allocations: 1.604 MB / 0.5491 GB, free: 61.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.5404, allocations: 0.7214 MB / 0.5498 GB, free: 60.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.5435, allocations: 2.835 MB / 0.5526 GB, free: 57.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/0.5441, allocations: 1.146 MB / 0.5537 GB, free: 56.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002663/0.5444, allocations: 70.83 kB / 0.5538 GB, free: 56.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.5444, allocations: 23.44 kB / 0.5538 GB, free: 56.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5445, allocations: 0 / 0.5538 GB, free: 56.52 MB / 378.7 MB Notification: Performance of Templates: time 0.02168/0.5661, allocations: 20.94 MB / 0.5743 GB, free: 35.45 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/RAM/RAM.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches