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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.RAM,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_RAM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.137/2.137, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003532, allocations: 12 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2946, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.4396, allocations: 80.14 MB / 388.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.44, allocations: 79.95 kB / 388.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4032/0.8432, allocations: 39.2 MB / 428 MB, free: 91.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.8432, allocations: 0 / 428 MB, free: 91.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.473e-05/0.8433, allocations: 14.06 kB / 428 MB, free: 91.78 MB / 346.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.001811/0.8451, allocations: 1.554 MB / 429.6 MB, free: 90.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.8451, allocations: 7.656 kB / 429.6 MB, free: 90.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.8453, allocations: 55.91 kB / 429.6 MB, free: 90.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.8454, allocations: 120 kB / 429.7 MB, free: 90.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000855/0.8463, allocations: 479.8 kB / 430.2 MB, free: 90.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.8464, allocations: 19.03 kB / 430.2 MB, free: 90.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.262e-05/0.8465, allocations: 22.78 kB / 430.2 MB, free: 90.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.8475, allocations: 0.5898 MB / 430.8 MB, free: 90.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8476, allocations: 0 / 430.8 MB, free: 90.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/0.8476, allocations: 11.06 kB / 430.8 MB, free: 90.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.8477, allocations: 0 / 430.8 MB, free: 90.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/0.8485, allocations: 470.7 kB / 431.3 MB, free: 90.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.8504, allocations: 0.9189 MB / 432.2 MB, free: 89.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.8514, allocations: 0.7252 MB / 432.9 MB, free: 89.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.8514, allocations: 7.719 kB / 433 MB, free: 89.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.8525, allocations: 0.7372 MB / 433.7 MB, free: 88.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=41): time 3.046e-06/0.8525, allocations: 0 / 433.7 MB, free: 88.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=41): time 0.003465/0.856, allocations: 2.303 MB / 436 MB, free: 86.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.8562, allocations: 334.2 kB / 436.3 MB, free: 86.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/0.8587, allocations: 1.315 MB / 437.6 MB, free: 85.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.8589, allocations: 44.66 kB / 437.7 MB, free: 85.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.8592, allocations: 281.1 kB / 438 MB, free: 85.08 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.8593, allocations: 88.77 kB / 438 MB, free: 85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.8594, allocations: 15.14 kB / 438.1 MB, free: 84.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.8595, allocations: 320.9 kB / 438.4 MB, free: 84.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007815/0.8603, allocations: 467.1 kB / 438.8 MB, free: 84.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007671/0.8611, allocations: 0.4953 MB / 439.3 MB, free: 83.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007997/0.8619, allocations: 0.6484 MB / 440 MB, free: 83.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.8619, allocations: 6.906 kB / 440 MB, free: 83.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002602/0.8645, allocations: 1.537 MB / 441.5 MB, free: 81.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.8647, allocations: 306.6 kB / 441.8 MB, free: 81.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8647, allocations: 1.594 kB / 441.8 MB, free: 81.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.8648, allocations: 4 kB / 441.8 MB, free: 81.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.169e-05/0.8648, allocations: 7.719 kB / 441.8 MB, free: 81.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.8648, allocations: 0 / 441.8 MB, free: 81.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/0.8654, allocations: 34.33 kB / 441.9 MB, free: 81.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.8656, allocations: 100.9 kB / 442 MB, free: 81.27 MB / 346.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.001312/0.8669, allocations: 0.858 MB / 442.8 MB, free: 80.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.8671, allocations: 134.5 kB / 442.9 MB, free: 80.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.8674, allocations: 187.8 kB / 443.1 MB, free: 80.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.8674, allocations: 1.594 kB / 443.1 MB, free: 80.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.8675, allocations: 0 / 443.1 MB, free: 80.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.8675, allocations: 4 kB / 443.1 MB, free: 80.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.8711, allocations: 2.444 MB / 445.6 MB, free: 77.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.8711, allocations: 0 / 445.6 MB, free: 77.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.8711, allocations: 11.55 kB / 445.6 MB, free: 77.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.8712, allocations: 4 kB / 445.6 MB, free: 77.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/0.8712, allocations: 27.98 kB / 445.6 MB, free: 77.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.8713, allocations: 11.92 kB / 445.6 MB, free: 77.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8713, allocations: 0 / 445.6 MB, free: 77.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.874, allocations: 1.842 MB / 447.5 MB, free: 75.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/0.8753, allocations: 0.499 MB / 448 MB, free: 75.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/0.8756, allocations: 67.95 kB / 448 MB, free: 75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.8761, allocations: 27.98 kB / 448.1 MB, free: 74.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001868/0.878, allocations: 0.628 MB / 448.7 MB, free: 74.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/0.8782, allocations: 116.5 kB / 448.8 MB, free: 74.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002197/0.8804, allocations: 1.086 MB / 449.9 MB, free: 73.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8804, allocations: 0 / 449.9 MB, free: 73.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009862/0.8814, allocations: 195.1 kB / 450.1 MB, free: 72.96 MB / 346.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.003926/0.8854, allocations: 2.674 MB / 452.8 MB, free: 70.28 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.888, allocations: 2.103 MB / 454.9 MB, free: 68.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.888, allocations: 4 kB / 454.9 MB, free: 68.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.8897, allocations: 1.592 MB / 456.5 MB, free: 66.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004555/0.8943, allocations: 0.7226 MB / 457.2 MB, free: 65.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.9072, allocations: 7.567 MB / 464.8 MB, free: 58.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.9088, allocations: 1.146 MB / 465.9 MB, free: 56.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006495/0.9095, allocations: 78.28 kB / 466 MB, free: 56.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/0.91, allocations: 211.4 kB / 466.2 MB, free: 56.56 MB / 346.7 MB Notification: Performance of SimCode: time 1.713e-06/0.91, allocations: 3.844 kB / 466.2 MB, free: 56.56 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07254/0.9826, allocations: 27.07 MB / 493.3 MB, free: 29.27 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.9829, allocations: 207.7 kB / 493.5 MB, free: 29.03 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.35/4.333, allocations: 3.938 kB / 493.5 MB, free: 29.03 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.RAM_res.mat does not exist to compare? outputFormat=mat