Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.88 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2516, allocations: 50.54 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00541/0.2571, allocations: 5.208 MB / 414.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007188/0.2643, allocations: 6.658 MB / 421.1 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.2646, allocations: 39.69 kB / 421.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009855/0.2656, allocations: 0.5057 MB / 421.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.2671, allocations: 0.8108 MB / 422.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000822/0.268, allocations: 438.3 kB / 422.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002441/0.2704, allocations: 2.04 MB / 424.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.2707, allocations: 171 kB / 425.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.2711, allocations: 378.2 kB / 425.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.2715, allocations: 349.6 kB / 425.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-05/0.2716, allocations: 32 kB / 425.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007979/0.2724, allocations: 499.6 kB / 426.3 MB, free: 424 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.2725, allocations: 115.2 kB / 426.4 MB, free: 308 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.2728, allocations: 449 kB / 426.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.274, allocations: 1.277 MB / 428.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.274, allocations: 0 / 428.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.274, allocations: 0 / 428.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.274, allocations: 0 / 428.1 MB, free: 14.58 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001881/0.2759, allocations: 1.448 MB / 429.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.276, allocations: 12.03 kB / 429.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.2762, allocations: 142.4 kB / 429.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.2773, allocations: 0.8502 MB / 430.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.2773, allocations: 20.38 kB / 430.6 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.2774, allocations: 20 kB / 430.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.2779, allocations: 302.7 kB / 430.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2779, allocations: 3.938 kB / 430.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.2779, allocations: 12 kB / 430.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.278, allocations: 7.984 kB / 431 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.2783, allocations: 233.7 kB / 431.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.2799, allocations: 1.107 MB / 432.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.2803, allocations: 254.3 kB / 432.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/0.2808, allocations: 297 kB / 432.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009008/0.2817, allocations: 0.8347 MB / 433.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.2817, allocations: 34.56 kB / 433.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.793e-06/0.2817, allocations: 0 / 433.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.002709/0.2844, allocations: 1.553 MB / 435.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.2845, allocations: 110.8 kB / 435.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/0.2854, allocations: 0.934 MB / 436.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.2854, allocations: 33.7 kB / 436.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.2857, allocations: 357.5 kB / 436.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/0.2858, allocations: 130.1 kB / 436.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.286, allocations: 121.5 kB / 436.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.2861, allocations: 321.9 kB / 437.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.2863, allocations: 120.6 kB / 437.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.2866, allocations: 167.8 kB / 437.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.2879, allocations: 0.7257 MB / 438.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2879, allocations: 0 / 438.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008663/0.2888, allocations: 0.5618 MB / 438.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.2888, allocations: 41.7 kB / 438.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.2889, allocations: 11.98 kB / 438.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.2891, allocations: 65.69 kB / 438.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.2893, allocations: 55.94 kB / 439 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.2917, allocations: 3.331 MB / 442.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.2919, allocations: 11.98 kB / 442.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.292, allocations: 20 kB / 442.3 MB, free: 15.51 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003313/0.2923, allocations: 271.4 kB / 442.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.2924, allocations: 122.4 kB / 442.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.2936, allocations: 0.6529 MB / 443.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2936, allocations: 11.98 kB / 443.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2936, allocations: 4 kB / 443.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2937, allocations: 0 / 443.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.2943, allocations: 0.6121 MB / 444 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.208e-05/0.2943, allocations: 12 kB / 444 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.2945, allocations: 47.84 kB / 444.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/0.2947, allocations: 65.67 kB / 444.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.2948, allocations: 23.98 kB / 444.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.297, allocations: 3.328 MB / 447.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.297, allocations: 0 / 447.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.2982, allocations: 0.8587 MB / 448.3 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.2986, allocations: 271.5 kB / 448.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.2987, allocations: 8 kB / 448.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.2989, allocations: 11.98 kB / 448.6 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.299, allocations: 31.91 kB / 448.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.2991, allocations: 20 kB / 448.7 MB, free: 8.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006771/0.2998, allocations: 0.6256 MB / 449.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2998, allocations: 4.062 kB / 449.3 MB, free: 8.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007328/0.3005, allocations: 219.9 kB / 449.5 MB, free: 7.922 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005044/0.301, allocations: 314.8 kB / 449.8 MB, free: 7.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.3021, allocations: 0.7884 MB / 450.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3021, allocations: 0 / 450.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006405/0.3027, allocations: 0.6049 MB / 451.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.3033, allocations: 123 kB / 451.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.3053, allocations: 1.572 MB / 452.9 MB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.3059, allocations: 0.9961 MB / 453.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002309/0.3061, allocations: 93.64 kB / 454 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/0.3062, allocations: 51.42 kB / 454 MB, free: 3.191 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3062, allocations: 0 / 454 MB, free: 3.191 MB / 366.1 MB Notification: Performance of Templates: time 0.01552/0.3217, allocations: 8.911 MB / 463 MB, free: 10.3 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches