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.858/1.858, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003794, allocations: 8 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08724/0.08764, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.5295, allocations: 74.7 MB / 347.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.5298, allocations: 74.72 kB / 347.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1885/0.7183, allocations: 39.2 MB / 386.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7184, allocations: 0 / 386.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.617e-05/0.7184, allocations: 16 kB / 386.6 MB, free: 13.67 MB / 314.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.002836/0.7213, allocations: 1.544 MB / 388.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.7214, allocations: 8.031 kB / 388.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003215/0.7217, allocations: 126.4 kB / 388.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.7229, allocations: 484.5 kB / 388.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.723, allocations: 16 kB / 388.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/0.7231, allocations: 20.34 kB / 388.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.7245, allocations: 0.5909 MB / 389.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.7245, allocations: 0 / 389.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/0.7246, allocations: 11.98 kB / 389.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.7247, allocations: 7.984 kB / 389.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.7257, allocations: 467.8 kB / 389.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.7282, allocations: 0.9156 MB / 390.8 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.7297, allocations: 0.7327 MB / 391.5 MB, free: 8.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.7297, allocations: 4 kB / 391.5 MB, free: 8.547 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/0.7312, allocations: 0.7321 MB / 392.2 MB, free: 7.777 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 3.196e-06/0.7312, allocations: 0 / 392.2 MB, free: 7.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.004522/0.7357, allocations: 2.327 MB / 394.6 MB, free: 5.332 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000282/0.7361, allocations: 338.6 kB / 394.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003462/0.7395, allocations: 1.499 MB / 396.4 MB, free: 3.426 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.7397, allocations: 41.69 kB / 396.4 MB, free: 3.379 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.7401, allocations: 278.1 kB / 396.7 MB, free: 3.105 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.7403, allocations: 86.89 kB / 396.8 MB, free: 3.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.7404, allocations: 12 kB / 396.8 MB, free: 3.008 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.7406, allocations: 326 kB / 397.1 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.7416, allocations: 460.1 kB / 397.6 MB, free: 2.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.7427, allocations: 0.4933 MB / 398.1 MB, free: 1.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.7438, allocations: 0.6475 MB / 398.7 MB, free: 1.027 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7438, allocations: 0 / 398.7 MB, free: 1.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00306/0.7469, allocations: 1.562 MB / 400.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003217/0.7472, allocations: 303.2 kB / 400.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7472, allocations: 0 / 400.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.7473, allocations: 4 kB / 400.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.508e-05/0.7473, allocations: 3.953 kB / 400.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.7473, allocations: 4 kB / 400.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006058/0.748, allocations: 39.81 kB / 400.6 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/0.7482, allocations: 95.94 kB / 400.7 MB, free: 14.91 MB / 330.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.001775/0.75, allocations: 0.8612 MB / 401.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00036/0.7504, allocations: 126.5 kB / 401.7 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005623/0.7509, allocations: 187.8 kB / 401.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.751, allocations: 4 kB / 401.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.751, allocations: 3.953 kB / 401.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.751, allocations: 3.984 kB / 401.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/0.7559, allocations: 2.464 MB / 404.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.7559, allocations: 0 / 404.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.756, allocations: 3.938 kB / 404.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.756, allocations: 4 kB / 404.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.7561, allocations: 35.95 kB / 404.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.7561, allocations: 7.953 kB / 404.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7561, allocations: 0 / 404.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/0.7598, allocations: 1.869 MB / 406.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/0.7615, allocations: 0.4952 MB / 406.8 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003489/0.7618, allocations: 67.95 kB / 406.8 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/0.7625, allocations: 23.98 kB / 406.9 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002196/0.7647, allocations: 0.6358 MB / 407.5 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002505/0.765, allocations: 108 kB / 407.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002752/0.7677, allocations: 1.082 MB / 408.7 MB, free: 6.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.7678, allocations: 0 / 408.7 MB, free: 6.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001134/0.7689, allocations: 199.9 kB / 408.9 MB, free: 6.465 MB / 330.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.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],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,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.001047/0.77, allocations: 372.1 kB / 409.2 MB, free: 6.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003556/0.7736, allocations: 2.103 MB / 411.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.7736, allocations: 0 / 411.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.776, allocations: 1.6 MB / 412.9 MB, free: 2.203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004753/0.7808, allocations: 0.7147 MB / 413.7 MB, free: 1.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006482/0.7873, allocations: 2.831 MB / 416.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.7887, allocations: 1.143 MB / 417.6 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004344/0.7892, allocations: 82.73 kB / 417.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.7893, allocations: 19.44 kB / 417.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.7893, allocations: 0 / 417.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of Templates: time 0.3199/1.109, allocations: 20.93 MB / 438.7 MB, free: 101.6 MB / 346.7 MB