Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.RAM.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadModel(Modelica): time 1.719/1.719, allocations: 171.2 MB / 186.7 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 8 kB / 233.9 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07936/0.07973, allocations: 38.76 MB / 272.6 MB, free: 9.43 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002355/0.08214, allocations: 1.311 MB / 273.9 MB, free: 8.105 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004579/0.08677, allocations: 1.793 MB / 275.7 MB, free: 6.305 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.08695, allocations: 4 kB / 275.7 MB, free: 6.301 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.08724, allocations: 15.91 kB / 275.7 MB, free: 6.285 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.08747, allocations: 63.81 kB / 275.8 MB, free: 6.223 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.08819, allocations: 151.6 kB / 276 MB, free: 6.074 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.08855, allocations: 175.7 kB / 276.1 MB, free: 5.902 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.08873, allocations: 53.84 kB / 276.2 MB, free: 5.848 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008513/0.0896, allocations: 0.5224 MB / 276.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.09001, allocations: 183.5 kB / 276.9 MB, free: 5.145 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.09013, allocations: 12 kB / 276.9 MB, free: 5.133 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.09059, allocations: 119.8 kB / 277 MB, free: 5.016 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.09088, allocations: 243.2 kB / 277.3 MB, free: 4.777 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.0911, allocations: 169.1 kB / 277.4 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.09244, allocations: 0.9199 MB / 278.3 MB, free: 3.684 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.09249, allocations: 4 kB / 278.3 MB, free: 3.68 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.0925, allocations: 0 / 278.3 MB, free: 3.68 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.09253, allocations: 0 / 278.3 MB, free: 3.68 MB / 234.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.002284/0.09482, allocations: 1.514 MB / 279.9 MB, free: 2.059 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.09489, allocations: 15.97 kB / 279.9 MB, free: 2.043 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.09516, allocations: 118.5 kB / 280 MB, free: 1.926 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008543/0.09603, allocations: 484.3 kB / 280.5 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/0.0961, allocations: 16 kB / 280.5 MB, free: 1.387 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-05/0.09621, allocations: 20 kB / 280.5 MB, free: 1.367 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.09762, allocations: 0.591 MB / 281.1 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.09768, allocations: 0 / 281.1 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.09776, allocations: 8 kB / 281.1 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.09778, allocations: 8 kB / 281.1 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.0988, allocations: 471.8 kB / 281.6 MB, free: 300 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2069/0.3057, allocations: 0.9094 MB / 282.5 MB, free: 15.03 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.3072, allocations: 0.7324 MB / 283.2 MB, free: 15 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.3072, allocations: 2.219 kB / 283.2 MB, free: 15 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/0.3085, allocations: 0.7327 MB / 283.9 MB, free: 14.72 MB / 234.7 MB Notification: Performance of pre-optimization done (n=41): time 3.396e-06/0.3086, allocations: 0 / 283.9 MB, free: 14.72 MB / 234.7 MB Notification: Performance of matching and sorting (n=41): time 0.004134/0.3127, allocations: 2.321 MB / 286.3 MB, free: 13.71 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.3129, allocations: 335.3 kB / 286.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.3161, allocations: 1.493 MB / 288.1 MB, free: 12.75 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.3163, allocations: 44.7 kB / 288.1 MB, free: 12.72 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.3166, allocations: 288 kB / 288.4 MB, free: 12.49 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.3167, allocations: 91.7 kB / 288.5 MB, free: 12.44 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.3168, allocations: 11.03 kB / 288.5 MB, free: 12.44 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.3169, allocations: 319.9 kB / 288.8 MB, free: 12.13 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009361/0.3178, allocations: 465.2 kB / 289.3 MB, free: 12.02 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009251/0.3188, allocations: 499.6 kB / 289.8 MB, free: 11.89 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009015/0.3197, allocations: 0.6499 MB / 290.4 MB, free: 11.5 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3197, allocations: 1.203 kB / 290.4 MB, free: 11.5 MB / 234.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002776/0.3225, allocations: 1.545 MB / 292 MB, free: 10.88 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.3228, allocations: 306 kB / 292.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3228, allocations: 3.516 kB / 292.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3228, allocations: 2.547 kB / 292.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.885e-05/0.3229, allocations: 2.703 kB / 292.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3229, allocations: 7.688 kB / 292.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/0.3236, allocations: 41.3 kB / 292.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.3238, allocations: 101.4 kB / 292.4 MB, free: 10.57 MB / 234.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.001432/0.3252, allocations: 0.8588 MB / 293.3 MB, free: 10.03 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.3255, allocations: 129.8 kB / 293.4 MB, free: 9.965 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.3259, allocations: 193 kB / 293.6 MB, free: 9.863 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3259, allocations: 0.5625 kB / 293.6 MB, free: 9.863 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3259, allocations: 0 / 293.6 MB, free: 9.863 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.3271, allocations: 0.4958 MB / 294.1 MB, free: 9.566 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003208/0.3274, allocations: 64.91 kB / 294.1 MB, free: 9.555 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005013/0.3279, allocations: 29.78 kB / 294.2 MB, free: 9.551 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002153/0.3301, allocations: 0.6427 MB / 294.8 MB, free: 9.383 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003319/0.3334, allocations: 2.298 MB / 297.1 MB, free: 8.074 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003402/0.3369, allocations: 1.956 MB / 299.1 MB, free: 7.148 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001451/0.3384, allocations: 1.013 MB / 300.1 MB, free: 6.57 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.002204/0.3406, allocations: 1.085 MB / 301.2 MB, free: 5.953 MB / 234.7 MB Notification: Performance of Backend: time 1.753e-06/0.3406, allocations: 0 / 301.2 MB, free: 5.953 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002907/0.3436, allocations: 1.842 MB / 303 MB, free: 4.254 MB / 234.7 MB Notification: Performance of SimCode: time 0.007391/0.351, allocations: 3.711 MB / 306.7 MB, free: 404 kB / 234.7 MB Notification: Performance of Templates: time 0.05869/0.4097, allocations: 18.7 MB / 325.4 MB, free: 13.47 MB / 266.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