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.0009117/0.0009117, allocations: 183 kB / 18.04 MB, free: 3.781 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.342/1.342, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.000726/0.0007261, allocations: 81.67 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003689, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2111, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09448/0.3056, allocations: 85.14 MB / 462.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.3059, allocations: 71.97 kB / 462.2 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08352/0.3894, allocations: 39.34 MB / 0.4898 GB, free: 4.039 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3895, allocations: 0 / 0.4898 GB, free: 4.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.645e-05/0.3895, allocations: 12 kB / 0.4898 GB, free: 4.027 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.002108/0.3916, allocations: 1.533 MB / 0.4913 GB, free: 2.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3917, allocations: 12.03 kB / 0.4913 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.3919, allocations: 123.4 kB / 0.4914 GB, free: 2.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007897/0.3927, allocations: 0.5163 MB / 0.492 GB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.3928, allocations: 12.38 kB / 0.492 GB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.3929, allocations: 20.38 kB / 0.492 GB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008375/0.3937, allocations: 0.5759 MB / 0.4925 GB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3937, allocations: 192 / 0.4925 GB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.3938, allocations: 15.94 kB / 0.4926 GB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3938, allocations: 4 kB / 0.4926 GB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005994/0.3944, allocations: 467.7 kB / 0.493 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1608/0.5552, allocations: 0.9061 MB / 0.4939 GB, free: 103 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.5565, allocations: 0.7214 MB / 0.4946 GB, free: 103 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008093/0.5574, allocations: 0.7016 MB / 0.4953 GB, free: 103 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.5574, allocations: 2.125 kB / 0.4953 GB, free: 103 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007476/0.5581, allocations: 0.7306 MB / 0.496 GB, free: 102.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 2.755e-06/0.5582, allocations: 0.9688 kB / 0.496 GB, free: 102.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.002664/0.5608, allocations: 2.029 MB / 0.498 GB, free: 102.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.561, allocations: 334.6 kB / 0.4983 GB, free: 102.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.5631, allocations: 1.501 MB / 0.4998 GB, free: 101.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-05/0.5632, allocations: 39.14 kB / 0.4998 GB, free: 101.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.5634, allocations: 291.5 kB / 0.5001 GB, free: 101.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.5636, allocations: 91 kB / 0.5002 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.5636, allocations: 10.28 kB / 0.5002 GB, free: 101.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.5637, allocations: 323.2 kB / 0.5005 GB, free: 101.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.5642, allocations: 455.9 kB / 0.5009 GB, free: 101.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.5648, allocations: 494.5 kB / 0.5014 GB, free: 101.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/0.5657, allocations: 1.281 MB / 0.5026 GB, free: 100.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5657, allocations: 0 / 0.5026 GB, free: 100.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001436/0.5671, allocations: 1.529 MB / 0.5041 GB, free: 100.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.5673, allocations: 306.2 kB / 0.5044 GB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5673, allocations: 0 / 0.5044 GB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.5673, allocations: 3.938 kB / 0.5044 GB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.532e-05/0.5674, allocations: 3.938 kB / 0.5044 GB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5674, allocations: 7.906 kB / 0.5044 GB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.5678, allocations: 26.95 kB / 0.5045 GB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.5679, allocations: 103.4 kB / 0.5046 GB, free: 100.1 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.0009196/0.5688, allocations: 0.8654 MB / 0.5054 GB, free: 99.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.569, allocations: 128.2 kB / 0.5055 GB, free: 99.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.5692, allocations: 185.5 kB / 0.5057 GB, free: 99.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5692, allocations: 3.844 kB / 0.5057 GB, free: 99.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5692, allocations: 3.938 kB / 0.5057 GB, free: 99.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5693, allocations: 1.078 kB / 0.5057 GB, free: 99.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.5716, allocations: 2.448 MB / 0.5081 GB, free: 98.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5716, allocations: 3.625 kB / 0.5081 GB, free: 98.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.5716, allocations: 3.469 kB / 0.5081 GB, free: 98.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5716, allocations: 3.938 kB / 0.5081 GB, free: 98.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.5717, allocations: 29.84 kB / 0.5082 GB, free: 98.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.5717, allocations: 3.969 kB / 0.5082 GB, free: 98.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5717, allocations: 0 / 0.5082 GB, free: 98.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.5733, allocations: 1.851 MB / 0.51 GB, free: 97.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006626/0.574, allocations: 0.493 MB / 0.5104 GB, free: 97.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.5742, allocations: 64.89 kB / 0.5105 GB, free: 97.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.5745, allocations: 28.28 kB / 0.5105 GB, free: 97.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009827/0.5754, allocations: 0.6329 MB / 0.5112 GB, free: 97.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.5756, allocations: 110 kB / 0.5113 GB, free: 97.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001346/0.5769, allocations: 1.079 MB / 0.5123 GB, free: 97 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5769, allocations: 0 / 0.5123 GB, free: 97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005996/0.5775, allocations: 201.4 kB / 0.5125 GB, free: 96.99 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.0005517/0.5781, allocations: 351 kB / 0.5128 GB, free: 96.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.5796, allocations: 2.079 MB / 0.5149 GB, free: 95.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5796, allocations: 4.125 kB / 0.5149 GB, free: 95.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.5806, allocations: 1.588 MB / 0.5164 GB, free: 94.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/0.583, allocations: 0.7287 MB / 0.5171 GB, free: 94.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.5865, allocations: 2.817 MB / 0.5199 GB, free: 92.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006468/0.5872, allocations: 1.13 MB / 0.521 GB, free: 91.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003126/0.5875, allocations: 68.77 kB / 0.5211 GB, free: 91.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.5876, allocations: 22.72 kB / 0.5211 GB, free: 91.17 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5876, allocations: 0 / 0.5211 GB, free: 91.17 MB / 378.7 MB Notification: Performance of Templates: time 0.02488/0.6124, allocations: 21.19 MB / 0.5418 GB, free: 71.43 MB / 378.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/jenkins1/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