Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001663/0.001663, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.407/1.407, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 52.16 kB / 301.3 MB, free: 5.848 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.09065, allocations: 49.44 MB / 350.7 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01182/0.1025, allocations: 10.71 MB / 361.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007218/0.1098, allocations: 3.182 MB / 364.6 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.1119, allocations: 83.62 kB / 364.7 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.1141, allocations: 0.706 MB / 365.4 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00409/0.1182, allocations: 1.13 MB / 366.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.1198, allocations: 471.4 kB / 367 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1626/0.2824, allocations: 5.112 MB / 372.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005206/0.2877, allocations: 4.787 MB / 376.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.2914, allocations: 2.369 MB / 379.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00374/0.2951, allocations: 2.765 MB / 382 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.2963, allocations: 0.6228 MB / 382.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.2981, allocations: 0.7044 MB / 383.4 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001492/0.2996, allocations: 1.635 MB / 385 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003384/0.303, allocations: 2.762 MB / 387.8 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005972/0.309, allocations: 8.346 MB / 396.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.309, allocations: 0 / 396.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.309, allocations: 0 / 396.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001328/0.3092, allocations: 2.625 kB / 396.1 MB, free: 1.535 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.009052/0.3182, allocations: 5.095 MB / 401.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3183, allocations: 9.406 kB / 401.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.3196, allocations: 0.5504 MB / 401.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004047/0.3236, allocations: 2.753 MB / 404.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.3238, allocations: 288.5 kB / 404.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005443/0.3244, allocations: 394 kB / 405.2 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008774/0.3332, allocations: 5.797 MB / 411 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.315e-05/0.3333, allocations: 2.625 kB / 411 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003636/0.3336, allocations: 167.2 kB / 411.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/0.3338, allocations: 204 kB / 411.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009323/0.3431, allocations: 5.026 MB / 416.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03014/0.3733, allocations: 16.39 MB / 432.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007006/0.3804, allocations: 6.797 MB / 439.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003898/0.3843, allocations: 2.64 MB / 442.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003243/0.3846, allocations: 137.5 kB / 442.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.3847, allocations: 64.56 kB / 442.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 4.719e-06/0.3847, allocations: 0 / 442.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.02067/0.4054, allocations: 10.7 MB / 453.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.4055, allocations: 77.42 kB / 453.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004427/0.4099, allocations: 2.628 MB / 455.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004085/0.4104, allocations: 77.7 kB / 455.9 MB, free: 7.125 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.4117, allocations: 1.636 MB / 457.5 MB, free: 5.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/0.4127, allocations: 0.8453 MB / 458.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009231/0.4136, allocations: 408.6 kB / 458.8 MB, free: 4.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.4137, allocations: 304.6 kB / 459 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.4158, allocations: 1.344 MB / 460.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.4181, allocations: 1.647 MB / 462 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004486/0.4226, allocations: 3.087 MB / 465.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.4227, allocations: 3.938 kB / 465.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00783/0.4305, allocations: 4.463 MB / 469.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.4306, allocations: 11.28 kB / 469.6 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.4306, allocations: 4 kB / 469.6 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005247/0.4359, allocations: 1.662 MB / 471.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.4375, allocations: 384.8 kB / 471.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02479/0.4623, allocations: 25.75 MB / 497.4 MB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.4646, allocations: 108.4 kB / 497.5 MB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004017/0.465, allocations: 76 kB / 497.6 MB, free: 11.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002991/0.468, allocations: 1.412 MB / 499 MB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.469, allocations: 292.6 kB / 499.3 MB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008175/0.4772, allocations: 4.392 MB / 0.4919 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.4773, allocations: 24 kB / 0.4919 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/0.4773, allocations: 8 kB / 0.4919 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/0.4773, allocations: 15.95 kB / 0.4919 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/0.4945, allocations: 8.86 MB / 0.5006 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.4945, allocations: 4 kB / 0.5006 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.4958, allocations: 289.6 kB / 0.5008 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005133/0.5009, allocations: 1.63 MB / 0.5024 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.5012, allocations: 55.98 kB / 0.5025 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02495/0.5261, allocations: 25.51 MB / 0.5274 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.5262, allocations: 7.922 kB / 0.5274 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1642/0.6903, allocations: 6.087 MB / 0.5333 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/0.6921, allocations: 0.6732 MB / 0.534 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008378/0.6929, allocations: 55.67 kB / 0.5341 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/0.6948, allocations: 126.1 kB / 0.5342 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005834/0.6954, allocations: 209.4 kB / 0.5344 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/0.6956, allocations: 63.88 kB / 0.5344 GB, free: 143.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00336/0.699, allocations: 1.852 MB / 0.5362 GB, free: 143.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.699, allocations: 0.9688 kB / 0.5362 GB, free: 143.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004476/0.7035, allocations: 0.9488 MB / 0.5372 GB, free: 143.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007044/0.7042, allocations: 245.7 kB / 0.5374 GB, free: 142.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01192/0.7161, allocations: 6.971 MB / 0.5442 GB, free: 140.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7161, allocations: 0 / 0.5442 GB, free: 140.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004141/0.7203, allocations: 3.352 MB / 0.5475 GB, free: 138.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004866/0.7252, allocations: 0.9679 MB / 0.5484 GB, free: 138.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.7387, allocations: 8.509 MB / 0.5567 GB, free: 134.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002663/0.7414, allocations: 3.097 MB / 0.5598 GB, free: 132.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006815/0.7421, allocations: 175.1 kB / 0.5599 GB, free: 132.1 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.7421, allocations: 4 kB / 0.5599 GB, free: 132.1 MB / 446.1 MB Notification: Performance of Templates: time 0.3423/1.084, allocations: 261.2 MB / 0.815 GB, free: 32.64 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches