Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.RAM.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadModel(Modelica): time 2.202/2.202, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 11.94 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09303, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002253/0.09534, allocations: 1.294 MB / 310.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004866/0.1003, allocations: 1.82 MB / 312.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1004, allocations: 8 kB / 312.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1007, allocations: 19.84 kB / 312.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.101, allocations: 55.89 kB / 312.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.1017, allocations: 163.5 kB / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.1021, allocations: 179.7 kB / 312.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1022, allocations: 45.84 kB / 312.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000872/0.1031, allocations: 0.5147 MB / 313.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.1036, allocations: 179.6 kB / 313.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.1037, allocations: 8 kB / 313.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000453/0.1041, allocations: 131.8 kB / 313.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.1044, allocations: 239.2 kB / 313.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.1046, allocations: 165.1 kB / 313.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.1059, allocations: 0.9277 MB / 314.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.106, allocations: 0 / 314.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.106, allocations: 4 kB / 314.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.106, allocations: 4 kB / 314.8 MB, free: 10.59 MB / 266.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.002162/0.1082, allocations: 1.502 MB / 316.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1082, allocations: 8.031 kB / 316.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.1085, allocations: 126.5 kB / 316.4 MB, free: 8.852 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008525/0.1094, allocations: 480.4 kB / 316.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.902e-05/0.1094, allocations: 19.98 kB / 316.9 MB, free: 8.312 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-05/0.1095, allocations: 20 kB / 316.9 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.111, allocations: 0.5871 MB / 317.5 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.111, allocations: 3.984 kB / 317.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/0.1111, allocations: 19.94 kB / 317.5 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1111, allocations: 0 / 317.5 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.1121, allocations: 471.8 kB / 318 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.1143, allocations: 0.9194 MB / 318.9 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.1156, allocations: 0.7288 MB / 319.7 MB, free: 5.512 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.1156, allocations: 7.938 kB / 319.7 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/0.117, allocations: 0.7321 MB / 320.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 3.306e-06/0.117, allocations: 0 / 320.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.004264/0.1213, allocations: 2.315 MB / 322.7 MB, free: 2.301 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002417/0.1215, allocations: 330.7 kB / 323 MB, free: 1.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/0.1246, allocations: 1.503 MB / 324.5 MB, free: 408 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.1248, allocations: 37.7 kB / 324.6 MB, free: 364 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.1252, allocations: 286 kB / 324.9 MB, free: 76 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.1254, allocations: 90.98 kB / 324.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.1254, allocations: 12 kB / 325 MB, free: 15.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1256, allocations: 325.9 kB / 325.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009745/0.1266, allocations: 464.1 kB / 325.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009645/0.1276, allocations: 498.8 kB / 326.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.1286, allocations: 0.6552 MB / 326.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.1286, allocations: 0 / 326.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002937/0.1316, allocations: 1.558 MB / 328.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.1319, allocations: 307.2 kB / 328.7 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1319, allocations: 0 / 328.7 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.132, allocations: 3.938 kB / 328.7 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-05/0.132, allocations: 7.938 kB / 328.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.132, allocations: 0 / 328.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/0.1326, allocations: 43.94 kB / 328.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.1328, allocations: 95.94 kB / 328.9 MB, free: 11.86 MB / 282.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.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],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,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.001454/0.1343, allocations: 0.8571 MB / 329.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.1346, allocations: 126.5 kB / 329.9 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.135, allocations: 187.8 kB / 330 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.135, allocations: 7.984 kB / 330 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.135, allocations: 4 kB / 330 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.1362, allocations: 0.4991 MB / 330.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003132/0.1366, allocations: 59.97 kB / 330.6 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.1371, allocations: 39.88 kB / 330.6 MB, free: 9.992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002117/0.1392, allocations: 0.6358 MB / 331.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003743/0.143, allocations: 2.306 MB / 333.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003595/0.1466, allocations: 1.943 MB / 335.5 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00167/0.1483, allocations: 1.019 MB / 336.5 MB, free: 3.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002375/0.1507, allocations: 1.074 MB / 337.6 MB, free: 2.762 MB / 282.7 MB Notification: Performance of Backend: time 1.073e-06/0.1507, allocations: 0 / 337.6 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003417/0.1541, allocations: 1.842 MB / 339.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of SimCode: time 0.008418/0.1626, allocations: 3.708 MB / 343.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of Templates: time 0.04393/0.2066, allocations: 18.7 MB / 361.9 MB, free: 10.05 MB / 314.7 MB "" Variables in the reference:time,dLATRAM.dataOut[1],dLATRAM.dataOut[2] Variables in the result:RE.x,WE.x,addr_0.n,addr_0.t[1],addr_0.t[2],addr_0.t[3],addr_0.t[4],addr_0.t[5],addr_0.t[6],addr_0.t[7],addr_0.t[8],addr_0.x[1],addr_0.x[2],addr_0.x[3],addr_0.x[4],addr_0.x[5],addr_0.x[6],addr_0.x[7],addr_0.x[8],addr_0.y0,addr_1.n,addr_1.t[10],addr_1.t[11],addr_1.t[12],addr_1.t[13],addr_1.t[14],addr_1.t[15],addr_1.t[16],addr_1.t[17],addr_1.t[18],addr_1.t[19],addr_1.t[1],addr_1.t[20],addr_1.t[21],addr_1.t[22],addr_1.t[23],addr_1.t[24],addr_1.t[25],addr_1.t[26],addr_1.t[27],addr_1.t[28],addr_1.t[29],addr_1.t[2],addr_1.t[30],addr_1.t[31],addr_1.t[32],addr_1.t[33],addr_1.t[34],addr_1.t[35],addr_1.t[36],addr_1.t[37],addr_1.t[38],addr_1.t[39],addr_1.t[3],addr_1.t[40],addr_1.t[41],addr_1.t[42],addr_1.t[43],addr_1.t[44],addr_1.t[45],addr_1.t[46],addr_1.t[47],addr_1.t[48],addr_1.t[49],addr_1.t[4],addr_1.t[50],addr_1.t[51],addr_1.t[52],addr_1.t[53],addr_1.t[54],addr_1.t[55],addr_1.t[56],addr_1.t[57],addr_1.t[58],addr_1.t[59],addr_1.t[5],addr_1.t[60],addr_1.t[61],addr_1.t[62],addr_1.t[63],addr_1.t[64],addr_1.t[65],addr_1.t[66],addr_1.t[67],addr_1.t[68],addr_1.t[69],addr_1.t[6],addr_1.t[70],addr_1.t[71],addr_1.t[72],addr_1.t[73],addr_1.t[74],addr_1.t[75],addr_1.t[76],addr_1.t[77],addr_1.t[78],addr_1.t[79],addr_1.t[7],addr_1.t[80],addr_1.t[8],addr_1.t[9],addr_1.x[10],addr_1.x[11],addr_1.x[12],addr_1.x[13],addr_1.x[14],addr_1.x[15],addr_1.x[16],addr_1.x[17],addr_1.x[18],addr_1.x[19],addr_1.x[1],addr_1.x[20],addr_1.x[21],addr_1.x[22],addr_1.x[23],addr_1.x[24],addr_1.x[25],addr_1.x[26],addr_1.x[27],addr_1.x[28],addr_1.x[29],addr_1.x[2],addr_1.x[30],addr_1.x[31],addr_1.x[32],addr_1.x[33],addr_1.x[34],addr_1.x[35],addr_1.x[36],addr_1.x[37],addr_1.x[38],addr_1.x[39],addr_1.x[3],addr_1.x[40],addr_1.x[41],addr_1.x[42],addr_1.x[43],addr_1.x[44],addr_1.x[45],addr_1.x[46],addr_1.x[47],addr_1.x[48],addr_1.x[49],addr_1.x[4],addr_1.x[50],addr_1.x[51],addr_1.x[52],addr_1.x[53],addr_1.x[54],addr_1.x[55],addr_1.x[56],addr_1.x[57],addr_1.x[58],addr_1.x[59],addr_1.x[5],addr_1.x[60],addr_1.x[61],addr_1.x[62],addr_1.x[63],addr_1.x[64],addr_1.x[65],addr_1.x[66],addr_1.x[67],addr_1.x[68],addr_1.x[69],addr_1.x[6],addr_1.x[70],addr_1.x[71],addr_1.x[72],addr_1.x[73],addr_1.x[74],addr_1.x[75],addr_1.x[76],addr_1.x[77],addr_1.x[78],addr_1.x[79],addr_1.x[7],addr_1.x[80],addr_1.x[8],addr_1.x[9],addr_1.y0,dLATRAM.dataOut[1],dLATRAM.dataOut[2],dLATRAM.inertialDelaySensitive[1].tHL,dLATRAM.inertialDelaySensitive[1].tLH,dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].y0,dLATRAM.inertialDelaySensitive[2].tHL,dLATRAM.inertialDelaySensitive[2].tLH,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].y0,dLATRAM.n_addr,dLATRAM.n_data,dLATRAM.strength,dLATRAM.tHL,dLATRAM.tLH,data_0.x,data_1.x,time