Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 116 kB / 17.07 MB, free: 5.973 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.001769/0.001769, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001014, allocations: 51.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2682, allocations: 49.44 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006227/0.2744, allocations: 5.203 MB / 405.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008283/0.2828, allocations: 6.615 MB / 412.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007485/0.2835, allocations: 47.62 kB / 412.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.2849, allocations: 0.5018 MB / 413.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.2871, allocations: 0.8264 MB / 413.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.2882, allocations: 426.5 kB / 414.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002618/0.2909, allocations: 2.001 MB / 416.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.2911, allocations: 167 kB / 416.5 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.2916, allocations: 382.1 kB / 416.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.2919, allocations: 341.7 kB / 417.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/0.292, allocations: 28 kB / 417.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008918/0.2929, allocations: 487.5 kB / 417.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.293, allocations: 115.2 kB / 417.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.2934, allocations: 449 kB / 418.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.2947, allocations: 1.265 MB / 419.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2947, allocations: 0 / 419.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2947, allocations: 0 / 419.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.2947, allocations: 0 / 419.5 MB, free: 5.996 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001736/0.2964, allocations: 1.448 MB / 421 MB, free: 4.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2965, allocations: 8.031 kB / 421 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.2966, allocations: 126.4 kB / 421.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.2976, allocations: 0.8541 MB / 421.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2977, allocations: 12.44 kB / 422 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.2977, allocations: 31.91 kB / 422 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.2982, allocations: 310.6 kB / 422.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2983, allocations: 0 / 422.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.2983, allocations: 8 kB / 422.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.2983, allocations: 8 kB / 422.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.2987, allocations: 229.7 kB / 422.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.3003, allocations: 1.11 MB / 423.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.3007, allocations: 242.4 kB / 423.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.3012, allocations: 301 kB / 424.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008902/0.3021, allocations: 0.7594 MB / 424.9 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3022, allocations: 30.56 kB / 425 MB, free: 204 kB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.783e-06/0.3022, allocations: 0 / 425 MB, free: 204 kB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.002795/0.305, allocations: 1.556 MB / 426.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.305, allocations: 110.8 kB / 426.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009976/0.3061, allocations: 0.9379 MB / 427.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.3061, allocations: 33.69 kB / 427.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.3064, allocations: 357.5 kB / 427.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.366e-05/0.3065, allocations: 134 kB / 428.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.3067, allocations: 117.6 kB / 428.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3068, allocations: 325.9 kB / 428.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.307, allocations: 116.6 kB / 428.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.3073, allocations: 163.8 kB / 428.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.3087, allocations: 0.7293 MB / 429.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3087, allocations: 0 / 429.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009084/0.3096, allocations: 0.5693 MB / 430.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.3097, allocations: 40.36 kB / 430.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.3097, allocations: 15.98 kB / 430.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.3099, allocations: 69.69 kB / 430.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.3102, allocations: 47.91 kB / 430.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.3127, allocations: 3.328 MB / 433.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.313, allocations: 12.06 kB / 433.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.313, allocations: 23.98 kB / 433.6 MB, free: 7.035 MB / 350.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.0003646/0.3134, allocations: 255.8 kB / 433.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.3136, allocations: 126.4 kB / 434 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.3148, allocations: 0.6645 MB / 434.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3149, allocations: 4 kB / 434.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.3149, allocations: 4 kB / 434.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3149, allocations: 3.984 kB / 434.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/0.3156, allocations: 0.6121 MB / 435.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.531e-05/0.3157, allocations: 16 kB / 435.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.3159, allocations: 35.91 kB / 435.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.3161, allocations: 73.67 kB / 435.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.3161, allocations: 12 kB / 435.4 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/0.3186, allocations: 3.331 MB / 438.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3186, allocations: 4.062 kB / 438.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.32, allocations: 0.851 MB / 439.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.3203, allocations: 275.5 kB / 439.9 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.3204, allocations: 15.94 kB / 439.9 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.3207, allocations: 4 kB / 439.9 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.824e-05/0.3209, allocations: 43.89 kB / 439.9 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.3209, allocations: 20 kB / 440 MB, free: 296 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007456/0.3217, allocations: 0.6217 MB / 440.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3217, allocations: 0 / 440.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007943/0.3225, allocations: 227.9 kB / 440.8 MB, free: 15.44 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.0005969/0.3231, allocations: 304.8 kB / 441.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.3242, allocations: 0.7767 MB / 441.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3243, allocations: 0 / 441.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006974/0.325, allocations: 0.6127 MB / 442.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/0.3256, allocations: 112.7 kB / 442.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.328, allocations: 1.57 MB / 444.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.3286, allocations: 1.004 MB / 445.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002763/0.3288, allocations: 97.58 kB / 445.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.059e-05/0.3289, allocations: 55.42 kB / 445.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.329, allocations: 0 / 445.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of Templates: time 0.01707/0.346, allocations: 8.678 MB / 454 MB, free: 2.074 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches