Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|dLATRAM.dataOut.1.|dLATRAM.dataOut.2.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 109.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.227, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.00244/0.2295, allocations: 1.669 MB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.2326, allocations: 1.921 MB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.649e-05/0.2326, allocations: 0 / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.2329, allocations: 40.42 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.2331, allocations: 61.75 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.2336, allocations: 195.5 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.234, allocations: 383.3 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2341, allocations: 61.64 kB / 414.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006649/0.2348, allocations: 0.7408 MB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000675/0.2355, allocations: 167.4 kB / 415.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.2356, allocations: 24 kB / 415.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/0.2359, allocations: 163.9 kB / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.2361, allocations: 247 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.2363, allocations: 357.1 kB / 415.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009171/0.2373, allocations: 1.18 MB / 417.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2373, allocations: 0 / 417.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.2373, allocations: 4 kB / 417.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.2373, allocations: 3.938 kB / 417.1 MB, free: 10.39 MB / 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.001536/0.2389, allocations: 1.67 MB / 418.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2389, allocations: 16.03 kB / 418.8 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.2391, allocations: 119.4 kB / 418.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.2396, allocations: 0.5354 MB / 419.5 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.2397, allocations: 16.38 kB / 419.5 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.2397, allocations: 24.12 kB / 419.5 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000862/0.2406, allocations: 0.5736 MB / 420.1 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.2406, allocations: 0 / 420.1 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.2407, allocations: 12 kB / 420.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.2407, allocations: 4 kB / 420.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.2413, allocations: 459.8 kB / 420.5 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.2427, allocations: 0.9115 MB / 421.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/0.2434, allocations: 0.7171 MB / 422.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/0.2442, allocations: 0.7231 MB / 422.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.2442, allocations: 0 / 422.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008278/0.245, allocations: 0.7241 MB / 423.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.944e-06/0.245, allocations: 0 / 423.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=41): time 0.002535/0.2476, allocations: 2.038 MB / 425.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/0.2478, allocations: 330.6 kB / 426 MB, free: 1.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.2495, allocations: 1.507 MB / 427.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.2496, allocations: 45.7 kB / 427.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.2498, allocations: 278.1 kB / 427.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.384e-05/0.2499, allocations: 94.89 kB / 427.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.2501, allocations: 173 kB / 428.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.2502, allocations: 322 kB / 428.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.2507, allocations: 456.1 kB / 428.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.2513, allocations: 491.1 kB / 429.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.2524, allocations: 1.286 MB / 430.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2524, allocations: 0 / 430.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001602/0.2541, allocations: 1.527 MB / 432.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.2542, allocations: 303.2 kB / 432.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2543, allocations: 0 / 432.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2543, allocations: 12.05 kB / 432.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.63e-05/0.2543, allocations: 7.984 kB / 432.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2543, allocations: 7.938 kB / 432.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.2546, allocations: 23.89 kB / 432.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.2548, allocations: 111.9 kB / 432.6 MB, free: 10.27 MB / 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.000813/0.2556, allocations: 0.861 MB / 433.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.2557, allocations: 138.4 kB / 433.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.256, allocations: 183.9 kB / 433.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.256, allocations: 0 / 433.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.256, allocations: 0 / 433.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007468/0.2567, allocations: 0.499 MB / 434.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.2569, allocations: 67.95 kB / 434.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.2572, allocations: 19.98 kB / 434.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/0.2583, allocations: 0.632 MB / 435 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002078/0.2604, allocations: 2.279 MB / 437.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001999/0.2624, allocations: 1.936 MB / 439.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009328/0.2633, allocations: 1.007 MB / 440.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001276/0.2646, allocations: 1.082 MB / 441.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of Backend: time 5.51e-07/0.2646, allocations: 0 / 441.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.2668, allocations: 1.837 MB / 443.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of SimCode: time 0.004926/0.2717, allocations: 3.596 MB / 446.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of Templates: time 0.02847/0.3002, allocations: 21.85 MB / 468.5 MB, free: 5.637 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/RAM/RAM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.RAM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches