Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 114.3 kB / 21.18 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 210.3 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.398/1.398, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5121,variableFilter="time|dLATRAM.dataOut.1.|dLATRAM.dataOut.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM") translateModel(Modelica.Electrical.Digital.Examples.RAM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5121,variableFilter="time|dLATRAM.dataOut.1.|dLATRAM.dataOut.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2233, allocations: 53.31 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002882/0.2262, allocations: 1.692 MB / 433.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003487/0.2297, allocations: 2.028 MB / 435.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.2298, allocations: 0 / 435.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.23, allocations: 32.44 kB / 435.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.2302, allocations: 61.75 kB / 435.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.2307, allocations: 199.4 kB / 436.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.2311, allocations: 347.3 kB / 436.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2312, allocations: 41.66 kB / 436.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000787/0.232, allocations: 0.7369 MB / 437.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.2325, allocations: 175.3 kB / 437.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.2326, allocations: 20 kB / 437.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.2329, allocations: 171.8 kB / 437.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.2331, allocations: 247 kB / 437.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.2334, allocations: 353.1 kB / 438.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.2346, allocations: 1.196 MB / 439.3 MB, free: 124 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2346, allocations: 0 / 439.3 MB, free: 124 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2346, allocations: 0 / 439.3 MB, free: 124 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2346, allocations: 4 kB / 439.3 MB, free: 120 kB / 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.001834/0.2364, allocations: 1.73 MB / 441 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2364, allocations: 8.031 kB / 441.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.2366, allocations: 128.1 kB / 441.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.2373, allocations: 0.5367 MB / 441.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.2373, allocations: 12.38 kB / 441.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.2374, allocations: 28.12 kB / 441.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.2383, allocations: 0.5753 MB / 442.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2383, allocations: 0 / 442.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.2383, allocations: 15.98 kB / 442.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.2383, allocations: 7.938 kB / 442.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.239, allocations: 459.7 kB / 442.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.2405, allocations: 0.9155 MB / 443.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/0.2411, allocations: 478.3 kB / 444.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000617/0.2417, allocations: 469.2 kB / 444.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.2417, allocations: 0 / 444.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008956/0.2426, allocations: 0.7264 MB / 445.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.483e-06/0.2426, allocations: 0 / 445.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.00264/0.2453, allocations: 2.046 MB / 447.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002178/0.2455, allocations: 334.7 kB / 447.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.2474, allocations: 1.507 MB / 449.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/0.2475, allocations: 37.7 kB / 449.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.2477, allocations: 286 kB / 449.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.2478, allocations: 99.3 kB / 449.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.2481, allocations: 173.3 kB / 449.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2482, allocations: 318 kB / 450.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006052/0.2488, allocations: 464.1 kB / 450.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/0.2494, allocations: 487.1 kB / 451.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.2508, allocations: 1.274 MB / 452.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2508, allocations: 0 / 452.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001876/0.2527, allocations: 1.539 MB / 453.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.2529, allocations: 311.3 kB / 454.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2529, allocations: 0 / 454.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2529, allocations: 0 / 454.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.433e-05/0.2529, allocations: 4 kB / 454.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.2529, allocations: 11.86 kB / 454.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.2532, allocations: 35.88 kB / 454.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.2534, allocations: 99.94 kB / 454.3 MB, free: 432 kB / 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.0009477/0.2543, allocations: 0.865 MB / 455.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.2545, allocations: 131.2 kB / 455.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.2547, allocations: 187.8 kB / 455.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2547, allocations: 0 / 455.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2547, allocations: 0 / 455.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008615/0.2556, allocations: 0.5036 MB / 456 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.2558, allocations: 59.97 kB / 456.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.256, allocations: 27.97 kB / 456.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001111/0.2571, allocations: 0.6281 MB / 456.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002494/0.2596, allocations: 2.302 MB / 459 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00235/0.262, allocations: 1.956 MB / 461 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007634/0.2628, allocations: 0.5348 MB / 461.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001425/0.2642, allocations: 1.086 MB / 462.6 MB, free: 7.809 MB / 366.1 MB Notification: Performance of Backend: time 3.4e-07/0.2642, allocations: 3.938 kB / 462.6 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.2663, allocations: 1.371 MB / 464 MB, free: 6.367 MB / 366.1 MB Notification: Performance of SimCode: time 0.005174/0.2715, allocations: 3.623 MB / 467.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of Templates: time 0.03167/0.3032, allocations: 22.02 MB / 489.6 MB, free: 12.57 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/RAM/RAM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.604886021930724]