Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007872/0.0007873, allocations: 90.38 kB / 17.31 MB, free: 5.59 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.0008537/0.0008538, allocations: 177.1 kB / 18.21 MB, free: 5.191 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.138/1.138, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002022/0.0002022, allocations: 11.94 kB / 302.1 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07361/0.07383, allocations: 50.41 MB / 352.5 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005586/0.07945, allocations: 6.376 MB / 358.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.08217, allocations: 2.224 MB / 361.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003231/0.08251, allocations: 43.81 kB / 361.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.08321, allocations: 377.8 kB / 361.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.08425, allocations: 0.6218 MB / 362.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.08459, allocations: 227.8 kB / 362.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002548/0.08715, allocations: 3.207 MB / 365.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/0.08922, allocations: 2.142 MB / 367.7 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.09096, allocations: 0.9715 MB / 368.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.09228, allocations: 1.295 MB / 370 MB, free: 1.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.09249, allocations: 152 kB / 370.1 MB, free: 1.707 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.09294, allocations: 247.8 kB / 370.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005072/0.09346, allocations: 0.65 MB / 371 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1314/0.2249, allocations: 1.278 MB / 372.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003856/0.2288, allocations: 3.736 MB / 376 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2288, allocations: 2.078 kB / 376 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2288, allocations: 0 / 376 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001346/0.229, allocations: 0 / 376 MB, free: 12.61 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005668/0.2346, allocations: 2.532 MB / 378.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2347, allocations: 8.812 kB / 378.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.2358, allocations: 311.7 kB / 378.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.2383, allocations: 1.583 MB / 380.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.2385, allocations: 163 kB / 380.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00046/0.2389, allocations: 220.4 kB / 380.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004662/0.2436, allocations: 3.188 MB / 384 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.2436, allocations: 0 / 384 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.2438, allocations: 90.34 kB / 384.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.506e-05/0.2439, allocations: 112.2 kB / 384.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003566/0.2475, allocations: 2.743 MB / 387 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009797/0.2573, allocations: 8.949 MB / 395.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/0.2596, allocations: 3.391 MB / 399.3 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.261, allocations: 1.341 MB / 400.6 MB, free: 208 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.2612, allocations: 119.9 kB / 400.8 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2612, allocations: 51.53 kB / 400.8 MB, free: 48 kB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.046e-06/0.2612, allocations: 0 / 400.8 MB, free: 48 kB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.009232/0.2705, allocations: 5.806 MB / 406.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.2705, allocations: 72.7 kB / 406.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.2723, allocations: 1.483 MB / 408.2 MB, free: 9.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/0.2724, allocations: 45.7 kB / 408.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006013/0.273, allocations: 0.9456 MB / 409.2 MB, free: 8.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002973/0.2733, allocations: 445.1 kB / 409.6 MB, free: 8.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.2735, allocations: 105.7 kB / 409.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2736, allocations: 353.9 kB / 410 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009416/0.2745, allocations: 0.6974 MB / 410.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.2756, allocations: 0.8723 MB / 411.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/0.2776, allocations: 1.615 MB / 413.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2776, allocations: 0 / 413.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003281/0.2809, allocations: 2.322 MB / 415.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2809, allocations: 11.94 kB / 415.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.281, allocations: 6.625 kB / 415.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/0.2834, allocations: 0.8241 MB / 416.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007129/0.2841, allocations: 206.4 kB / 416.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009968/0.2941, allocations: 10.54 MB / 427.1 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008356/0.295, allocations: 47.95 kB / 427.2 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/0.2951, allocations: 44 kB / 427.2 MB, free: 6.266 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001193/0.2963, allocations: 0.8144 MB / 428 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.2965, allocations: 166.1 kB / 428.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.3, allocations: 2.28 MB / 430.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.3, allocations: 12 kB / 430.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3, allocations: 4 kB / 430.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3, allocations: 7.969 kB / 430.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006402/0.3064, allocations: 4.765 MB / 435.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3064, allocations: 0 / 435.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.307, allocations: 168.7 kB / 435.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002372/0.3094, allocations: 0.8241 MB / 436.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-05/0.3095, allocations: 27.98 kB / 436.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009746/0.3192, allocations: 10.42 MB / 446.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3193, allocations: 0 / 446.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/0.3236, allocations: 3.248 MB / 450 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006501/0.3243, allocations: 403.1 kB / 450.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.3245, allocations: 31.98 kB / 450.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007367/0.3252, allocations: 75.94 kB / 450.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.3255, allocations: 119.8 kB / 450.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.3255, allocations: 32 kB / 450.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001328/0.3269, allocations: 1.056 MB / 451.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3269, allocations: 0 / 451.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001544/0.3284, allocations: 0.5221 MB / 452.2 MB, free: 12.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004089/0.3289, allocations: 205.4 kB / 452.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003051/0.3319, allocations: 2.399 MB / 454.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3319, allocations: 0 / 454.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002009/0.3339, allocations: 1.636 MB / 456.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.3359, allocations: 489.8 kB / 456.9 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006879/0.3428, allocations: 5.692 MB / 462.6 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/0.3443, allocations: 1.991 MB / 464.6 MB, free: 260 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.3446, allocations: 99.42 kB / 464.7 MB, free: 160 kB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3446, allocations: 0 / 464.7 MB, free: 160 kB / 366.1 MB Notification: Performance of Templates: time 0.06728/0.4119, allocations: 75.1 MB / 0.5271 GB, free: 5.148 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches