Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001483/0.001483, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2984, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002966/0.3014, allocations: 1.665 MB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.3052, allocations: 1.929 MB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.3053, allocations: 3.938 kB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.3056, allocations: 40.44 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.3059, allocations: 57.75 kB / 413.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006954/0.3066, allocations: 191.5 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005238/0.3072, allocations: 387.3 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.3073, allocations: 57.66 kB / 414.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008472/0.3082, allocations: 0.737 MB / 415 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000676/0.3089, allocations: 167.3 kB / 415.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.309, allocations: 24 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.3094, allocations: 167.9 kB / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.3096, allocations: 243.1 kB / 415.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003899/0.31, allocations: 357.1 kB / 415.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.3113, allocations: 1.183 MB / 417.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3113, allocations: 0 / 417.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3113, allocations: 0 / 417.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.369e-05/0.3114, allocations: 0 / 417.1 MB, free: 10.38 MB / 334.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.002225/0.3136, allocations: 1.677 MB / 418.8 MB, free: 8.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3136, allocations: 8.031 kB / 418.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.3138, allocations: 127.4 kB / 418.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007094/0.3146, allocations: 0.5315 MB / 419.4 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.3146, allocations: 20.36 kB / 419.5 MB, free: 7.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.3147, allocations: 24.12 kB / 419.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008847/0.3156, allocations: 0.5715 MB / 420.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3156, allocations: 0 / 420.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/0.3156, allocations: 12 kB / 420.1 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3157, allocations: 0 / 420.1 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/0.3163, allocations: 470 kB / 420.5 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.3177, allocations: 0.9155 MB / 421.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007753/0.3185, allocations: 0.721 MB / 422.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007329/0.3192, allocations: 0.7037 MB / 422.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.3193, allocations: 4 kB / 422.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008825/0.3202, allocations: 0.728 MB / 423.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.094e-06/0.3202, allocations: 0 / 423.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.00254/0.3227, allocations: 2.038 MB / 425.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.3229, allocations: 334.6 kB / 426 MB, free: 1.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.3249, allocations: 1.507 MB / 427.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.325, allocations: 41.69 kB / 427.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.3253, allocations: 286.1 kB / 427.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.3254, allocations: 90.91 kB / 427.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.3257, allocations: 177 kB / 428.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3258, allocations: 318 kB / 428.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/0.3265, allocations: 460.1 kB / 428.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/0.3271, allocations: 483.1 kB / 429.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.3284, allocations: 1.286 MB / 430.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3284, allocations: 0 / 430.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00175/0.3302, allocations: 1.542 MB / 432.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.3304, allocations: 303.2 kB / 432.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3304, allocations: 0 / 432.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3304, allocations: 0 / 432.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.877e-05/0.3305, allocations: 4.062 kB / 432.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3305, allocations: 7.938 kB / 432.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.3308, allocations: 35.88 kB / 432.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.3309, allocations: 103.9 kB / 432.6 MB, free: 10.25 MB / 350.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.0009399/0.3319, allocations: 0.861 MB / 433.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.3321, allocations: 126.5 kB / 433.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.3323, allocations: 187.8 kB / 433.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3324, allocations: 3.984 kB / 433.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3324, allocations: 0 / 433.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008473/0.3332, allocations: 0.5029 MB / 434.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.3334, allocations: 67.95 kB / 434.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.3337, allocations: 27.97 kB / 434.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/0.3348, allocations: 0.6358 MB / 435 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00223/0.3371, allocations: 2.282 MB / 437.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002067/0.3391, allocations: 1.932 MB / 439.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009851/0.3401, allocations: 0.9997 MB / 440.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00138/0.3415, allocations: 1.082 MB / 441.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of Backend: time 6.01e-07/0.3415, allocations: 0 / 441.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002311/0.3439, allocations: 1.827 MB / 443.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 0.004762/0.3486, allocations: 3.592 MB / 446.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of Templates: time 0.03325/0.3819, allocations: 21.85 MB / 468.5 MB, free: 5.625 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.RAM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches