Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001555/0.001555, allocations: 102.1 kB / 18.4 MB, free: 4.68 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.001729/0.001729, allocations: 190.4 kB / 19.33 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 55.92 kB / 329.2 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07681/0.07801, allocations: 46.63 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.1626/0.2406, allocations: 10.64 MB / 386.5 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005471/0.2461, allocations: 3.274 MB / 389.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.2474, allocations: 71.97 kB / 389.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.2491, allocations: 0.7017 MB / 390.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.2519, allocations: 1.136 MB / 391.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009566/0.2528, allocations: 0.4912 MB / 392.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004913/0.2578, allocations: 5.276 MB / 397.5 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004248/0.262, allocations: 4.117 MB / 401.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005143/0.2672, allocations: 2.39 MB / 404 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004859/0.2721, allocations: 2.757 MB / 406.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00128/0.2734, allocations: 0.6215 MB / 407.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.2756, allocations: 0.7022 MB / 408 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001644/0.2773, allocations: 1.633 MB / 409.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004086/0.2814, allocations: 2.759 MB / 412.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008086/0.2895, allocations: 8.413 MB / 420.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2895, allocations: 0 / 420.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2895, allocations: 4 kB / 420.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001937/0.2897, allocations: 0 / 420.8 MB, free: 2.484 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01056/0.3003, allocations: 5.076 MB / 425.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3003, allocations: 8.031 kB / 425.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.3017, allocations: 0.5498 MB / 426.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004789/0.3065, allocations: 2.627 MB / 429.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.3067, allocations: 291.8 kB / 429.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006124/0.3074, allocations: 383.9 kB / 429.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00952/0.3169, allocations: 5.798 MB / 435.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.939e-05/0.317, allocations: 0 / 435.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.3174, allocations: 164 kB / 435.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/0.3176, allocations: 204 kB / 435.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008429/0.326, allocations: 5.016 MB / 440.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02662/0.3526, allocations: 16.19 MB / 457.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006448/0.3591, allocations: 6.809 MB / 463.9 MB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003583/0.3627, allocations: 2.619 MB / 466.6 MB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.3631, allocations: 135.1 kB / 466.7 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.3631, allocations: 60.56 kB / 466.8 MB, free: 3.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 3.837e-06/0.3631, allocations: 0 / 466.8 MB, free: 3.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.01889/0.382, allocations: 10.7 MB / 477.5 MB, free: 8.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3821, allocations: 81.36 kB / 477.5 MB, free: 8.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003652/0.3858, allocations: 2.632 MB / 480.2 MB, free: 5.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002342/0.386, allocations: 73.7 kB / 480.2 MB, free: 5.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.3871, allocations: 1.636 MB / 481.9 MB, free: 4.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006597/0.3878, allocations: 0.8432 MB / 482.7 MB, free: 3.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006218/0.3884, allocations: 416.5 kB / 483.1 MB, free: 2.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.508e-05/0.3885, allocations: 305.1 kB / 483.4 MB, free: 2.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/0.3904, allocations: 1.34 MB / 484.8 MB, free: 1.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.3925, allocations: 1.654 MB / 486.4 MB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004067/0.3966, allocations: 3.072 MB / 489.5 MB, free: 12.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.3966, allocations: 8 kB / 489.5 MB, free: 12.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007091/0.4037, allocations: 4.449 MB / 493.9 MB, free: 7.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4038, allocations: 8 kB / 493.9 MB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.4038, allocations: 8.062 kB / 494 MB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005114/0.4089, allocations: 1.647 MB / 495.6 MB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.4105, allocations: 387.5 kB / 496 MB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02534/0.4359, allocations: 25.73 MB / 0.5095 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.4381, allocations: 99.84 kB / 0.5096 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.4383, allocations: 79.98 kB / 0.5097 GB, free: 10.27 MB / 446.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.0023/0.4406, allocations: 1.407 MB / 0.511 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006398/0.4413, allocations: 296.6 kB / 0.5113 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007476/0.4488, allocations: 4.376 MB / 0.5156 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.4488, allocations: 27.94 kB / 0.5156 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/0.4489, allocations: 11.94 kB / 0.5156 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.143e-05/0.4489, allocations: 15.94 kB / 0.5156 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.4642, allocations: 8.773 MB / 0.5242 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.4642, allocations: 0 / 0.5242 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.4654, allocations: 287.6 kB / 0.5245 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00504/0.4705, allocations: 1.62 MB / 0.5261 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/0.4707, allocations: 63.97 kB / 0.5261 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1911/0.6618, allocations: 25.48 MB / 0.551 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6619, allocations: 2.625 kB / 0.551 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009409/0.6713, allocations: 6.097 MB / 0.557 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001779/0.6731, allocations: 0.6735 MB / 0.5576 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004033/0.6735, allocations: 55.91 kB / 0.5577 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.6748, allocations: 121.4 kB / 0.5578 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004967/0.6754, allocations: 218.5 kB / 0.558 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.6755, allocations: 69.16 kB / 0.5581 GB, free: 143.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002698/0.6782, allocations: 1.851 MB / 0.5599 GB, free: 142.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6782, allocations: 0 / 0.5599 GB, free: 142.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003404/0.6816, allocations: 0.952 MB / 0.5608 GB, free: 142.5 MB / 478.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.000538/0.6822, allocations: 241.2 kB / 0.561 GB, free: 142.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00622/0.6884, allocations: 4.864 MB / 0.5658 GB, free: 140 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6884, allocations: 1.062 kB / 0.5658 GB, free: 140 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004209/0.6926, allocations: 3.365 MB / 0.5691 GB, free: 138 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/0.6965, allocations: 0.95 MB / 0.57 GB, free: 137.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.7083, allocations: 8.41 MB / 0.5782 GB, free: 134.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002104/0.7105, allocations: 3.098 MB / 0.5812 GB, free: 132.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.7111, allocations: 174.1 kB / 0.5814 GB, free: 132.9 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.7111, allocations: 4 kB / 0.5814 GB, free: 132.9 MB / 478.1 MB Notification: Performance of Templates: time 0.3507/1.062, allocations: 262 MB / 0.8373 GB, free: 87.99 MB / 0.4981 GB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches