Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.RAM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001815/0.001815, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.952/3.952, allocations: 205.4 MB / 223.6 MB, free: 9.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 80.98 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000608/0.0006083, allocations: 12 kB / 328.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5876/0.5883, allocations: 47.58 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.79, allocations: 85.13 MB / 460.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004486/0.7905, allocations: 75.97 kB / 460.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.182/0.9726, allocations: 39.34 MB / 0.4885 GB, free: 4.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.9727, allocations: 0 / 0.4885 GB, free: 4.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.477e-05/0.9727, allocations: 12 kB / 0.4885 GB, free: 4.156 MB / 378.7 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.00333/0.9761, allocations: 1.541 MB / 0.49 GB, free: 2.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.588e-05/0.9762, allocations: 12.03 kB / 0.4901 GB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.9765, allocations: 123.4 kB / 0.4902 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.9779, allocations: 0.5163 MB / 0.4907 GB, free: 1.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/0.9779, allocations: 16.38 kB / 0.4907 GB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-05/0.9781, allocations: 16.38 kB / 0.4907 GB, free: 1.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.9797, allocations: 0.5759 MB / 0.4913 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.9797, allocations: 192 / 0.4913 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-05/0.9798, allocations: 15.94 kB / 0.4913 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.9798, allocations: 0 / 0.4913 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.9811, allocations: 463.7 kB / 0.4917 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4274/1.408, allocations: 0.9094 MB / 0.4926 GB, free: 102.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/1.411, allocations: 0.7205 MB / 0.4933 GB, free: 102.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/1.413, allocations: 0.7048 MB / 0.494 GB, free: 102.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/1.414, allocations: 1.062 kB / 0.494 GB, free: 102.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001846/1.415, allocations: 0.731 MB / 0.4947 GB, free: 102.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 4.428e-06/1.415, allocations: 0 / 0.4947 GB, free: 102.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.006004/1.421, allocations: 2.03 MB / 0.4967 GB, free: 102.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002421/1.422, allocations: 333.2 kB / 0.497 GB, free: 102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006744/1.429, allocations: 1.506 MB / 0.4985 GB, free: 101.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003395/1.429, allocations: 39.22 kB / 0.4985 GB, free: 101.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005625/1.43, allocations: 287.3 kB / 0.4988 GB, free: 101.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004016/1.43, allocations: 90.45 kB / 0.4989 GB, free: 101.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/1.43, allocations: 10.06 kB / 0.4989 GB, free: 101.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/1.43, allocations: 321.3 kB / 0.4992 GB, free: 101.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/1.432, allocations: 453.8 kB / 0.4996 GB, free: 101.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/1.433, allocations: 495.6 kB / 0.5001 GB, free: 101.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002303/1.436, allocations: 1.279 MB / 0.5014 GB, free: 100.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.436, allocations: 0 / 0.5014 GB, free: 100.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003188/1.439, allocations: 1.528 MB / 0.5029 GB, free: 100.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002817/1.439, allocations: 312.6 kB / 0.5032 GB, free: 99.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.439, allocations: 0 / 0.5032 GB, free: 99.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/1.439, allocations: 3.938 kB / 0.5032 GB, free: 99.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.46e-05/1.439, allocations: 0 / 0.5032 GB, free: 99.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.439, allocations: 7.906 kB / 0.5032 GB, free: 99.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/1.44, allocations: 26.58 kB / 0.5032 GB, free: 99.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/1.44, allocations: 103.3 kB / 0.5033 GB, free: 99.95 MB / 378.7 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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,dLATRAM.nextstate[1],dLATRAM.nextstate[2],dLATRAM.mem_word[1],dLATRAM.mem_word[2],dLATRAM.int_addr,dLATRAM.yy[1],dLATRAM.yy[2],$PRE.dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].y_old,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].t_next,$PRE.dLATRAM.inertialDelaySensitive[2].x,dLATRAM.inertialDelaySensitive[2].x,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].y_old,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].t_next,dLATRAM.dataIn[1],dLATRAM.dataIn[2],dLATRAM.mem[1,1],dLATRAM.mem[1,2],dLATRAM.mem[2,1],dLATRAM.mem[2,2],dLATRAM.mem[3,1],dLATRAM.mem[3,2],dLATRAM.mem[4,1],dLATRAM.mem[4,2],addr_1.y,data_1.y,data_0.y,WE.y,addr_0.y,RE.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002256/1.443, allocations: 0.8681 MB / 0.5041 GB, free: 99.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/1.443, allocations: 129.1 kB / 0.5043 GB, free: 99.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008861/1.444, allocations: 183.2 kB / 0.5044 GB, free: 99.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/1.444, allocations: 3.375 kB / 0.5044 GB, free: 99.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.444, allocations: 3.938 kB / 0.5044 GB, free: 99.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.444, allocations: 0 / 0.5044 GB, free: 99.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005805/1.45, allocations: 2.456 MB / 0.5068 GB, free: 98.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.45, allocations: 0 / 0.5068 GB, free: 98.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/1.45, allocations: 3.906 kB / 0.5068 GB, free: 98.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/1.45, allocations: 0 / 0.5068 GB, free: 98.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/1.45, allocations: 35.02 kB / 0.5069 GB, free: 98.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/1.45, allocations: 0 / 0.5069 GB, free: 98.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.45, allocations: 2.156 kB / 0.5069 GB, free: 98.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003451/1.454, allocations: 1.853 MB / 0.5087 GB, free: 97.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.456, allocations: 0.4919 MB / 0.5092 GB, free: 97.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005085/1.456, allocations: 70.56 kB / 0.5092 GB, free: 97.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/1.457, allocations: 29.12 kB / 0.5093 GB, free: 97.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002086/1.459, allocations: 0.6319 MB / 0.5099 GB, free: 97.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/1.459, allocations: 106.1 kB / 0.51 GB, free: 97.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003953/1.463, allocations: 1.082 MB / 0.511 GB, free: 96.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.463, allocations: 2.078 kB / 0.511 GB, free: 96.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001545/1.465, allocations: 198.3 kB / 0.5112 GB, free: 96.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,dLATRAM.nextstate[1],dLATRAM.nextstate[2],dLATRAM.mem_word[1],dLATRAM.mem_word[2],dLATRAM.int_addr,dLATRAM.yy[1],dLATRAM.yy[2],dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].y_old,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].t_next,dLATRAM.inertialDelaySensitive[2].x,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].y_old,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].t_next,dLATRAM.dataIn[1],dLATRAM.dataIn[2],dLATRAM.mem[1,1],dLATRAM.mem[1,2],dLATRAM.mem[2,1],dLATRAM.mem[2,2],dLATRAM.mem[3,1],dLATRAM.mem[3,2],dLATRAM.mem[4,1],dLATRAM.mem[4,2],addr_1.y,data_1.y,data_0.y,WE.y,addr_0.y,RE.y) * Number of discrete states: 39 (addr_1.y,data_1.y,data_0.y,WE.y,addr_0.y,RE.y,dLATRAM.yy[2],dLATRAM.yy[1],dLATRAM.nextstate[2],dLATRAM.nextstate[1],dLATRAM.mem_word[2],dLATRAM.mem_word[1],dLATRAM.int_addr,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.inertialDelaySensitive[1].y,dLATRAM.inertialDelaySensitive[1].y_auxiliary,dLATRAM.inertialDelaySensitive[1].t_next,dLATRAM.inertialDelaySensitive[1].delayTime,dLATRAM.inertialDelaySensitive[1].lh,dLATRAM.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATRAM.inertialDelaySensitive[1].x,dLATRAM.inertialDelaySensitive[2].y,dLATRAM.inertialDelaySensitive[2].y_auxiliary,dLATRAM.inertialDelaySensitive[2].t_next,dLATRAM.inertialDelaySensitive[2].delayTime,dLATRAM.inertialDelaySensitive[2].lh,dLATRAM.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATRAM.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/1.466, allocations: 355.3 kB / 0.5116 GB, free: 96.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003392/1.47, allocations: 2.076 MB / 0.5136 GB, free: 95.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.47, allocations: 4.125 kB / 0.5136 GB, free: 95.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/1.472, allocations: 1.584 MB / 0.5151 GB, free: 94.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/1.477, allocations: 0.7263 MB / 0.5159 GB, free: 94.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007606/1.484, allocations: 2.906 MB / 0.5187 GB, free: 92.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/1.486, allocations: 1.124 MB / 0.5198 GB, free: 91.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/1.486, allocations: 23.44 kB / 0.5198 GB, free: 91.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.034e-06/1.486, allocations: 3.609 kB / 0.5198 GB, free: 91.36 MB / 378.7 MB Notification: Performance of Templates: time 0.03783/1.524, allocations: 13.73 MB / 0.5332 GB, free: 79.15 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.RAM.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.RAM.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.RAM.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.RAM.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.RAM.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.RAM --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.RAM.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.RAM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches