Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009573/0.0009572, allocations: 200.4 kB / 17.43 MB, free: 4.242 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007422/0.0007422, allocations: 101 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002002/0.0002002, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1882, allocations: 51.41 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.006917/0.1952, allocations: 9.47 MB / 421.5 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005677/0.2009, allocations: 3.562 MB / 425.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.2027, allocations: 75.62 kB / 425.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.2041, allocations: 0.598 MB / 425.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002727/0.2068, allocations: 1.061 MB / 426.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.2077, allocations: 407.7 kB / 427.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004779/0.2125, allocations: 5.873 MB / 433.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003729/0.2162, allocations: 3.996 MB / 437.1 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0045/0.2208, allocations: 1.81 MB / 438.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.2239, allocations: 2.271 MB / 441.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006282/0.2245, allocations: 268 kB / 441.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.2257, allocations: 367.8 kB / 441.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.2268, allocations: 1.187 MB / 443 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002774/0.2295, allocations: 2.299 MB / 445.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007172/0.2367, allocations: 7.868 MB / 453.1 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2368, allocations: 0 / 453.1 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2368, allocations: 3.938 kB / 453.2 MB, free: 500 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001908/0.237, allocations: 0 / 453.2 MB, free: 500 kB / 314.7 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.009189/0.2462, allocations: 4.308 MB / 457.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.2463, allocations: 8.031 kB / 457.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.2485, allocations: 0.5772 MB / 458 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/0.2535, allocations: 2.755 MB / 460.8 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.2538, allocations: 295.8 kB / 461.1 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006274/0.2544, allocations: 387.9 kB / 461.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.2647, allocations: 5.774 MB / 467.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-05/0.2648, allocations: 3.938 kB / 467.2 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/0.2651, allocations: 172 kB / 467.4 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.2653, allocations: 200 kB / 467.6 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008313/0.2737, allocations: 5.008 MB / 472.6 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02565/0.2993, allocations: 16.52 MB / 489.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006651/0.306, allocations: 6.794 MB / 495.9 MB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003689/0.3097, allocations: 2.681 MB / 498.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.3101, allocations: 131.1 kB / 498.7 MB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.3101, allocations: 64.5 kB / 498.8 MB, free: 1.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 4.298e-06/0.3101, allocations: 4 kB / 498.8 MB, free: 1.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.01998/0.3301, allocations: 10.74 MB / 0.4976 GB, free: 6.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.3302, allocations: 81.42 kB / 0.4977 GB, free: 6.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004893/0.3351, allocations: 2.612 MB / 0.5002 GB, free: 3.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00038/0.3355, allocations: 69.7 kB / 0.5003 GB, free: 3.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.3367, allocations: 1.64 MB / 0.5019 GB, free: 2.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008725/0.3376, allocations: 0.851 MB / 0.5027 GB, free: 1.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.3378, allocations: 48 kB / 0.5028 GB, free: 1.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.3381, allocations: 402.7 kB / 0.5032 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2105/0.5486, allocations: 1.33 MB / 0.5045 GB, free: 87.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003471/0.5521, allocations: 1.653 MB / 0.5061 GB, free: 86.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004534/0.5567, allocations: 3.076 MB / 0.5091 GB, free: 85.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.5567, allocations: 1.312 kB / 0.5091 GB, free: 85.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007261/0.564, allocations: 4.441 MB / 0.5134 GB, free: 83.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.5641, allocations: 7.531 kB / 0.5134 GB, free: 83.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.5641, allocations: 6.156 kB / 0.5134 GB, free: 83.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005101/0.5692, allocations: 1.642 MB / 0.515 GB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.5708, allocations: 394.6 kB / 0.5154 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/0.5892, allocations: 23.48 MB / 0.5383 GB, free: 61.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.5911, allocations: 103.9 kB / 0.5384 GB, free: 61.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.5913, allocations: 79.98 kB / 0.5385 GB, free: 61.57 MB / 378.7 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 (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 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.002081/0.5934, allocations: 1.408 MB / 0.5399 GB, free: 60.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005459/0.594, allocations: 296.8 kB / 0.5402 GB, free: 60 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006765/0.6007, allocations: 4.37 MB / 0.5444 GB, free: 55.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.6008, allocations: 31.94 kB / 0.5445 GB, free: 55.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.6008, allocations: 8 kB / 0.5445 GB, free: 55.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.6008, allocations: 11.95 kB / 0.5445 GB, free: 55.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.6127, allocations: 8.909 MB / 0.5532 GB, free: 46.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.6128, allocations: 0 / 0.5532 GB, free: 46.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.6139, allocations: 287.6 kB / 0.5535 GB, free: 46.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004566/0.6184, allocations: 1.617 MB / 0.555 GB, free: 44.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.6186, allocations: 63.91 kB / 0.5551 GB, free: 44.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01769/0.6363, allocations: 23.23 MB / 0.5778 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6363, allocations: 4.062 kB / 0.5778 GB, free: 20.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007952/0.6443, allocations: 6.076 MB / 0.5837 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/0.646, allocations: 0.6771 MB / 0.5844 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/0.6464, allocations: 59.98 kB / 0.5844 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.6477, allocations: 127.9 kB / 0.5846 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005223/0.6482, allocations: 219.3 kB / 0.5848 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.6483, allocations: 63.98 kB / 0.5848 GB, free: 12.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002174/0.6505, allocations: 1.833 MB / 0.5866 GB, free: 10.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6505, allocations: 0 / 0.5866 GB, free: 10.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003081/0.6536, allocations: 0.9531 MB / 0.5876 GB, free: 9.922 MB / 378.7 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.0005473/0.6542, allocations: 266.8 kB / 0.5878 GB, free: 9.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005855/0.66, allocations: 4.851 MB / 0.5926 GB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.6601, allocations: 0 / 0.5926 GB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003841/0.6639, allocations: 3.361 MB / 0.5958 GB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0039/0.6678, allocations: 0.8897 MB / 0.5967 GB, free: 320 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/0.6833, allocations: 10.36 MB / 0.6068 GB, free: 5.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003161/0.6865, allocations: 3.173 MB / 0.6099 GB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002083/0.6886, allocations: 0.5674 MB / 0.6105 GB, free: 2.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.6891, allocations: 163.4 kB / 0.6106 GB, free: 2 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6891, allocations: 4 kB / 0.6106 GB, free: 1.996 MB / 394.7 MB Notification: Performance of Templates: time 0.1028/0.7919, allocations: 58.31 MB / 0.6676 GB, free: 8.129 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches