Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_Modelica.Electrical.Digital.Examples.RAM") translateModel(Modelica.Electrical.Digital.Examples.RAM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATRAM.dataOut.1.|dLATRAM.dataOut.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 103 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 198.5 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 47.94 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2429, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002446/0.2454, allocations: 1.656 MB / 403.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.2484, allocations: 1.89 MB / 405 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.2485, allocations: 7.938 kB / 405 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.2487, allocations: 32.45 kB / 405 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.2489, allocations: 61.73 kB / 405.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.2494, allocations: 202.1 kB / 405.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000384/0.2498, allocations: 387.3 kB / 405.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.2499, allocations: 73.53 kB / 405.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006754/0.2506, allocations: 0.7252 MB / 406.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005534/0.2512, allocations: 167.4 kB / 406.6 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.122e-05/0.2513, allocations: 20 kB / 406.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.2516, allocations: 167.9 kB / 406.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.2518, allocations: 243 kB / 407 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.2521, allocations: 353.1 kB / 407.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009583/0.253, allocations: 1.195 MB / 408.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2531, allocations: 4 kB / 408.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2531, allocations: 0 / 408.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2531, allocations: 0 / 408.6 MB, free: 1.719 MB / 318.1 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.001531/0.2546, allocations: 1.681 MB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2547, allocations: 8.031 kB / 410.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.2548, allocations: 123.4 kB / 410.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.2554, allocations: 0.5237 MB / 410.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.2555, allocations: 20.36 kB / 410.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.2555, allocations: 28.06 kB / 410.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008683/0.2564, allocations: 0.5755 MB / 411.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2564, allocations: 0 / 411.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.2565, allocations: 12 kB / 411.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2565, allocations: 0 / 411.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.2571, allocations: 471.6 kB / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.2585, allocations: 0.9037 MB / 412.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.2592, allocations: 0.7249 MB / 413.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006658/0.2599, allocations: 0.7037 MB / 414.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.2599, allocations: 4 kB / 414.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008035/0.2607, allocations: 0.7165 MB / 415.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.933e-06/0.2607, allocations: 0 / 415.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.002339/0.2631, allocations: 2.049 MB / 417.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.2633, allocations: 334.7 kB / 417.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.265, allocations: 1.503 MB / 418.9 MB, free: 6.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.265, allocations: 41.62 kB / 419 MB, free: 6.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.2653, allocations: 286 kB / 419.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.226e-05/0.2654, allocations: 86.91 kB / 419.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.2656, allocations: 181 kB / 419.5 MB, free: 6.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2657, allocations: 326 kB / 419.8 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.2663, allocations: 448.1 kB / 420.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.2669, allocations: 491.1 kB / 420.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.2681, allocations: 1.282 MB / 422 MB, free: 3.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2681, allocations: 0 / 422 MB, free: 3.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001717/0.2698, allocations: 1.538 MB / 423.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.27, allocations: 307.2 kB / 423.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.27, allocations: 0 / 423.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2701, allocations: 0 / 423.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.656e-05/0.2701, allocations: 4 kB / 423.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.2701, allocations: 3.938 kB / 423.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.2704, allocations: 27.89 kB / 423.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.2705, allocations: 103.9 kB / 424 MB, free: 1.602 MB / 334.1 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,RE.y,addr_0.y,WE.y,data_0.y,data_1.y,addr_1.y,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.dataIn[2],dLATRAM.dataIn[1],dLATRAM.inertialDelaySensitive[2].t_next,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].y_old,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].x,$PRE.dLATRAM.inertialDelaySensitive[2].x,dLATRAM.inertialDelaySensitive[1].t_next,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].y_old,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].x,$PRE.dLATRAM.inertialDelaySensitive[1].x,dLATRAM.yy[2],dLATRAM.yy[1],dLATRAM.int_addr,dLATRAM.mem_word[2],dLATRAM.mem_word[1],dLATRAM.nextstate[2],dLATRAM.nextstate[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008004/0.2713, allocations: 0.8767 MB / 424.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.2715, allocations: 126.5 kB / 425 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.2717, allocations: 179.9 kB / 425.2 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2717, allocations: 3.984 kB / 425.2 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2717, allocations: 3.938 kB / 425.2 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007451/0.2725, allocations: 0.5043 MB / 425.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.2727, allocations: 63.95 kB / 425.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.2729, allocations: 27.97 kB / 425.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/0.274, allocations: 0.632 MB / 426.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002106/0.2761, allocations: 2.276 MB / 428.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002084/0.2782, allocations: 1.927 MB / 430.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0011/0.2793, allocations: 1.004 MB / 431.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.2807, allocations: 1.082 MB / 432.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of Backend: time 5.01e-07/0.2807, allocations: 4 kB / 432.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.283, allocations: 1.829 MB / 434.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of SimCode: time 0.004921/0.288, allocations: 3.592 MB / 438.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of Templates: time 0.0294/0.3174, allocations: 21.86 MB / 460 MB, free: 13.04 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/RAM/RAM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches