Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001175/0.001175, allocations: 102.2 kB / 18.4 MB, free: 4.629 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.001163/0.001163, allocations: 181.5 kB / 19.34 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 51.91 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.07957, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.003545/0.08314, allocations: 1.653 MB / 377.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004504/0.08767, allocations: 1.938 MB / 379.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.905e-05/0.08779, allocations: 0 / 379.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.08809, allocations: 36.45 kB / 379.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.08835, allocations: 61.67 kB / 379.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007057/0.08907, allocations: 203.5 kB / 379.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.08964, allocations: 379.4 kB / 380.1 MB, free: 292 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.08983, allocations: 61.66 kB / 380.1 MB, free: 232 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1504/0.2402, allocations: 0.734 MB / 380.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005273/0.2408, allocations: 164.6 kB / 381 MB, free: 10 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.755e-05/0.2409, allocations: 22.44 kB / 381.1 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.2413, allocations: 163.8 kB / 381.2 MB, free: 10 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.2415, allocations: 241.5 kB / 381.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.2417, allocations: 359.3 kB / 381.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.2429, allocations: 1.2 MB / 383 MB, free: 9.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.243, allocations: 0 / 383 MB, free: 9.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.243, allocations: 1.719 kB / 383 MB, free: 9.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.243, allocations: 2.594 kB / 383 MB, free: 9.586 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.001364/0.2444, allocations: 1.719 MB / 384.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2444, allocations: 8.062 kB / 384.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.2445, allocations: 130 kB / 384.9 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.245, allocations: 0.5384 MB / 385.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.2451, allocations: 16.88 kB / 385.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.2451, allocations: 21.25 kB / 385.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009031/0.246, allocations: 0.5831 MB / 386 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2461, allocations: 3.375 kB / 386 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.544e-05/0.2461, allocations: 12.89 kB / 386 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.2461, allocations: 1.344 kB / 386 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.2467, allocations: 463.3 kB / 386.5 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.248, allocations: 0.9149 MB / 387.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.2487, allocations: 0.7195 MB / 388.1 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/0.2494, allocations: 0.7049 MB / 388.8 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.2494, allocations: 3.422 kB / 388.8 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007894/0.2502, allocations: 0.7331 MB / 389.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 1.824e-06/0.2502, allocations: 0.8438 kB / 389.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.00245/0.2526, allocations: 2.043 MB / 391.6 MB, free: 6.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.2528, allocations: 331.1 kB / 391.9 MB, free: 5.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.2547, allocations: 1.502 MB / 393.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.2547, allocations: 41.06 kB / 393.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.2549, allocations: 288.8 kB / 393.8 MB, free: 5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.696e-05/0.255, allocations: 99.5 kB / 393.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.2552, allocations: 177 kB / 394 MB, free: 4.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.2553, allocations: 325.5 kB / 394.4 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.2558, allocations: 453.4 kB / 394.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.2563, allocations: 494.1 kB / 395.3 MB, free: 4.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.2574, allocations: 1.279 MB / 396.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2574, allocations: 0 / 396.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001651/0.2591, allocations: 1.541 MB / 398.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.2592, allocations: 301.7 kB / 398.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2592, allocations: 5.031 kB / 398.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2592, allocations: 1.312 kB / 398.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.494e-05/0.2593, allocations: 4.172 kB / 398.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2593, allocations: 1.219 kB / 398.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.2596, allocations: 40.11 kB / 398.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.2598, allocations: 100.4 kB / 398.5 MB, free: 2.559 MB / 318.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.0008084/0.2606, allocations: 0.8643 MB / 399.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.2607, allocations: 131.9 kB / 399.5 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.261, allocations: 185.6 kB / 399.7 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.261, allocations: 5.109 kB / 399.7 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.261, allocations: 0 / 399.7 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006828/0.2617, allocations: 0.5054 MB / 400.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.2619, allocations: 65.03 kB / 400.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.2621, allocations: 27.3 kB / 400.3 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/0.2632, allocations: 0.6339 MB / 400.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001897/0.2652, allocations: 2.278 MB / 403.2 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002103/0.2673, allocations: 1.94 MB / 405.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009631/0.2682, allocations: 1.007 MB / 406.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.2697, allocations: 1.08 MB / 407.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of Backend: time 5.31e-07/0.2697, allocations: 0 / 407.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.272, allocations: 1.834 MB / 409.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of SimCode: time 0.005/0.2771, allocations: 3.62 MB / 412.7 MB, free: 9.066 MB / 334.1 MB Notification: Performance of Templates: time 0.03022/0.3073, allocations: 21.85 MB / 434.6 MB, free: 3.043 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/RAM/RAM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.RAM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches