Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.RAM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.746 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Digital.Examples.RAM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2176, allocations: 53.36 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002735/0.2203, allocations: 1.619 MB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003605/0.2239, allocations: 1.95 MB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.224, allocations: 4 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.2242, allocations: 36.44 kB / 435.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.2244, allocations: 65.67 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.225, allocations: 211.4 kB / 436.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.2254, allocations: 359.3 kB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.2255, allocations: 49.42 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007819/0.2263, allocations: 0.733 MB / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.2266, allocations: 175.3 kB / 437.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.328e-05/0.2267, allocations: 20 kB / 437.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.227, allocations: 183.7 kB / 437.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.2272, allocations: 239.1 kB / 438 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.2275, allocations: 253.8 kB / 438.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.2287, allocations: 1.205 MB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2287, allocations: 0 / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2287, allocations: 4 kB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.2287, allocations: 0 / 439.4 MB, free: 15.6 MB / 350.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.001821/0.2305, allocations: 1.643 MB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2306, allocations: 8.031 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.2308, allocations: 132.1 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.2314, allocations: 487.7 kB / 441.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.2315, allocations: 16.38 kB / 441.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.2315, allocations: 24.12 kB / 441.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.2327, allocations: 0.8989 MB / 442.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2327, allocations: 0 / 442.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.2328, allocations: 11.98 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2328, allocations: 8 kB / 442.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008865/0.2337, allocations: 0.7763 MB / 443.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.2351, allocations: 0.8157 MB / 444.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000954/0.236, allocations: 0.7828 MB / 445 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008773/0.2369, allocations: 0.7739 MB / 445.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.2369, allocations: 0 / 445.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/0.2381, allocations: 1.052 MB / 446.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.894e-06/0.2381, allocations: 0 / 446.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003346/0.2415, allocations: 2.732 MB / 449.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002431/0.2417, allocations: 334.7 kB / 449.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.2438, allocations: 1.503 MB / 451.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.2438, allocations: 37.7 kB / 451.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.2441, allocations: 286 kB / 451.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.2442, allocations: 91.36 kB / 451.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.2445, allocations: 173.3 kB / 452 MB, free: 2.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2447, allocations: 333.8 kB / 452.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008933/0.2456, allocations: 0.7728 MB / 453.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008846/0.2464, allocations: 0.7989 MB / 453.9 MB, free: 272 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.2479, allocations: 1.364 MB / 455.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2479, allocations: 0 / 455.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002289/0.2502, allocations: 1.897 MB / 457.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002344/0.2505, allocations: 303.3 kB / 457.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2505, allocations: 7.938 kB / 457.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2505, allocations: 4 kB / 457.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.801e-05/0.2505, allocations: 0 / 457.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2505, allocations: 3.938 kB / 457.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.2509, allocations: 43.75 kB / 457.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.251, allocations: 103.9 kB / 457.6 MB, free: 12.25 MB / 366.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.0009805/0.252, allocations: 0.8572 MB / 458.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.2522, allocations: 135.2 kB / 458.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.2524, allocations: 187.8 kB / 458.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2524, allocations: 3.984 kB / 458.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2524, allocations: 0 / 458.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.2535, allocations: 0.5004 MB / 459.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.2536, allocations: 67.95 kB / 459.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.2539, allocations: 23.97 kB / 459.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001144/0.2551, allocations: 0.6281 MB / 460 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002844/0.2579, allocations: 2.571 MB / 462.5 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002634/0.2605, allocations: 2.284 MB / 464.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001022/0.2616, allocations: 0.8771 MB / 465.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001487/0.263, allocations: 1.086 MB / 466.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of Backend: time 3.31e-07/0.263, allocations: 0 / 466.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.2655, allocations: 1.676 MB / 468.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of SimCode: time 0.005174/0.2707, allocations: 3.577 MB / 472 MB, free: 13.06 MB / 382.1 MB Notification: Performance of Templates: time 0.0346/0.3053, allocations: 24.25 MB / 496.3 MB, free: 4.926 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.RAM.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.RAM.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.RAM.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.RAM.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.RAM.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.RAM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.RAM.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.RAM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/RAM/RAM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.060951024999667]