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.001281/0.001281, allocations: 104.9 kB / 18.37 MB, free: 4.598 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.001022/0.001022, allocations: 183.1 kB / 19.3 MB, free: 3.672 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.305/1.305, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001188/0.001188, allocations: 55.94 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07636/0.07755, allocations: 46.61 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002552/0.08013, allocations: 1.66 MB / 377.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.0834, allocations: 1.938 MB / 379.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.709e-05/0.08352, allocations: 4 kB / 379.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.08378, allocations: 32.45 kB / 379.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.08398, allocations: 61.73 kB / 379.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.08456, allocations: 191.5 kB / 379.7 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.08499, allocations: 387.3 kB / 380 MB, free: 328 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.08515, allocations: 69.64 kB / 380.1 MB, free: 260 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1533/0.2385, allocations: 0.7002 MB / 380.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006968/0.2392, allocations: 165.2 kB / 381 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.336e-05/0.2393, allocations: 23.56 kB / 381 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.2396, allocations: 169 kB / 381.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.2398, allocations: 241.7 kB / 381.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.2401, allocations: 356 kB / 381.7 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.2413, allocations: 1.196 MB / 382.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2413, allocations: 0.5 kB / 382.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2413, allocations: 0.5625 kB / 382.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.2413, allocations: 1.969 kB / 382.9 MB, free: 9.715 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.001384/0.2427, allocations: 1.676 MB / 384.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2428, allocations: 8.469 kB / 384.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.2429, allocations: 122.3 kB / 384.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.2434, allocations: 0.5333 MB / 385.3 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.2434, allocations: 15.41 kB / 385.3 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.2435, allocations: 21.62 kB / 385.3 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008427/0.2443, allocations: 0.577 MB / 385.9 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2443, allocations: 1.781 kB / 385.9 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.2444, allocations: 8.703 kB / 385.9 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.2444, allocations: 2.312 kB / 385.9 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/0.245, allocations: 464.2 kB / 386.3 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.2462, allocations: 0.9169 MB / 387.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007062/0.2469, allocations: 0.7232 MB / 388 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/0.2476, allocations: 0.7052 MB / 388.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.2476, allocations: 1.094 kB / 388.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008046/0.2484, allocations: 0.7339 MB / 389.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 1.894e-06/0.2484, allocations: 0 / 389.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.002351/0.2508, allocations: 2.033 MB / 391.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/0.2509, allocations: 340.6 kB / 391.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.2527, allocations: 1.497 MB / 393.3 MB, free: 5.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.2528, allocations: 41.05 kB / 393.3 MB, free: 5.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.253, allocations: 286.1 kB / 393.6 MB, free: 5.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/0.2531, allocations: 94.47 kB / 393.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.2533, allocations: 177.6 kB / 393.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.2534, allocations: 322.7 kB / 394.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005226/0.2539, allocations: 454.6 kB / 394.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.2544, allocations: 492.6 kB / 395.1 MB, free: 4.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.2555, allocations: 1.287 MB / 396.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2555, allocations: 0.5156 kB / 396.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001687/0.2572, allocations: 1.533 MB / 397.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.2574, allocations: 304.9 kB / 398.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2574, allocations: 4.703 kB / 398.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.2574, allocations: 2.312 kB / 398.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.656e-05/0.2574, allocations: 6.531 kB / 398.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.2574, allocations: 1.344 kB / 398.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.2578, allocations: 36.06 kB / 398.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.2579, allocations: 96.34 kB / 398.4 MB, free: 2.746 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.0008057/0.2587, allocations: 0.8693 MB / 399.2 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.2589, allocations: 132 kB / 399.4 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.2591, allocations: 184.5 kB / 399.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2592, allocations: 0.7031 kB / 399.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2592, allocations: 1.609 kB / 399.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006775/0.2598, allocations: 0.4975 MB / 400.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.26, allocations: 60.25 kB / 400.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.2603, allocations: 27.48 kB / 400.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/0.2614, allocations: 0.6333 MB / 400.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001926/0.2634, allocations: 2.275 MB / 403 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002122/0.2655, allocations: 1.942 MB / 405 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001052/0.2666, allocations: 1.003 MB / 406 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001448/0.268, allocations: 1.083 MB / 407.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of Backend: time 4.01e-07/0.268, allocations: 0.9688 kB / 407.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.2703, allocations: 1.825 MB / 408.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of SimCode: time 0.004932/0.2753, allocations: 3.593 MB / 412.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of Templates: time 0.02999/0.3053, allocations: 21.84 MB / 434.3 MB, free: 3.27 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