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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.RAM,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_RAM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.584/1.584, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005046/0.0005047, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.08497, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3637/0.4487, allocations: 74.7 MB / 346.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.449, allocations: 70.03 kB / 346.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1606/0.6096, allocations: 39.29 MB / 386.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6097, allocations: 0 / 386.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.079e-05/0.6097, allocations: 12 kB / 386.2 MB, free: 13.34 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.002472/0.6122, allocations: 1.548 MB / 387.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.6123, allocations: 8.031 kB / 387.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.6124, allocations: 58.48 kB / 387.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002404/0.6127, allocations: 122.5 kB / 387.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.6138, allocations: 480.5 kB / 388.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.6138, allocations: 20 kB / 388.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-05/0.6139, allocations: 20.34 kB / 388.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.6154, allocations: 0.5948 MB / 389 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.6154, allocations: 0 / 389 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.951e-05/0.6155, allocations: 8 kB / 389 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/0.6155, allocations: 0 / 389 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.6166, allocations: 471.7 kB / 389.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.619, allocations: 0.9156 MB / 390.4 MB, free: 8.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.6204, allocations: 0.7327 MB / 391.1 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.6205, allocations: 4 kB / 391.2 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/0.6219, allocations: 0.7282 MB / 391.9 MB, free: 7.383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 3.206e-06/0.6219, allocations: 0 / 391.9 MB, free: 7.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.004482/0.6264, allocations: 2.312 MB / 394.2 MB, free: 4.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002829/0.6267, allocations: 342.7 kB / 394.5 MB, free: 4.551 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/0.6298, allocations: 1.317 MB / 395.8 MB, free: 3.227 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.63, allocations: 37.69 kB / 395.9 MB, free: 3.184 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/0.6304, allocations: 282 kB / 396.2 MB, free: 2.902 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.6306, allocations: 90.92 kB / 396.2 MB, free: 2.812 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.6306, allocations: 12 kB / 396.3 MB, free: 2.801 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6308, allocations: 318 kB / 396.6 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009886/0.6318, allocations: 464.1 kB / 397 MB, free: 2.027 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009847/0.6328, allocations: 0.4933 MB / 397.5 MB, free: 1.527 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.6339, allocations: 0.6475 MB / 398.2 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.634, allocations: 0 / 398.2 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003059/0.637, allocations: 1.55 MB / 399.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003012/0.6374, allocations: 299.2 kB / 400 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.6374, allocations: 0 / 400 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.6374, allocations: 8.062 kB / 400 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.045e-05/0.6375, allocations: 15.88 kB / 400 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.6375, allocations: 4 kB / 400 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.6381, allocations: 35.83 kB / 400.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/0.6383, allocations: 103.9 kB / 400.2 MB, free: 14.7 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.00165/0.64, allocations: 0.8601 MB / 401 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.6403, allocations: 134.4 kB / 401.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.6407, allocations: 179.9 kB / 401.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6408, allocations: 4 kB / 401.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6408, allocations: 3.953 kB / 401.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6408, allocations: 0 / 401.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004684/0.6455, allocations: 2.436 MB / 403.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.6455, allocations: 4 kB / 403.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.6456, allocations: 7.938 kB / 403.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.6456, allocations: 0 / 403.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.6457, allocations: 39.97 kB / 403.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.6457, allocations: 3.953 kB / 403.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6457, allocations: 0 / 403.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.6493, allocations: 1.842 MB / 405.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/0.6507, allocations: 0.4913 MB / 406.2 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/0.6511, allocations: 71.95 kB / 406.2 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.6516, allocations: 27.97 kB / 406.3 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002121/0.6538, allocations: 0.6319 MB / 406.9 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/0.654, allocations: 108 kB / 407 MB, free: 7.598 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002503/0.6565, allocations: 1.082 MB / 408.1 MB, free: 6.512 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6565, allocations: 0 / 408.1 MB, free: 6.512 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001005/0.6575, allocations: 207.8 kB / 408.3 MB, free: 6.309 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.004933/0.6625, allocations: 2.672 MB / 411 MB, free: 3.586 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003432/0.666, allocations: 2.103 MB / 413.1 MB, free: 1.371 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.666, allocations: 0 / 413.1 MB, free: 1.371 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.6684, allocations: 1.6 MB / 414.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/0.6731, allocations: 0.7193 MB / 415.4 MB, free: 14.95 MB / 346.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/0.6911, allocations: 8.278 MB / 423.7 MB, free: 6.582 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.6925, allocations: 1.146 MB / 424.8 MB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004493/0.6929, allocations: 78.86 kB / 424.9 MB, free: 5.332 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.6933, allocations: 207.4 kB / 425.1 MB, free: 5.129 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6933, allocations: 0 / 425.1 MB, free: 5.129 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3939/1.087, allocations: 27.13 MB / 452.2 MB, free: 99.42 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/1.087, allocations: 210.9 kB / 452.4 MB, free: 99.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.224/4.312, allocations: 4 kB / 452.4 MB, free: 99.18 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.RAM_res.mat does not exist to compare? outputFormat=mat