Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008248/0.0008249, allocations: 180 kB / 16.71 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 225.7 MB / 243.2 MB, free: 8.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007929/0.0007929, allocations: 100.2 kB / 294.4 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002563/0.0002564, allocations: 11.94 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2173, allocations: 50.41 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.006615/0.224, allocations: 9.468 MB / 414.1 MB, free: 21.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004128/0.2281, allocations: 3.296 MB / 417.3 MB, free: 18.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008592/0.229, allocations: 75.62 kB / 417.4 MB, free: 18.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.2301, allocations: 0.598 MB / 418 MB, free: 17.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.2324, allocations: 1.061 MB / 419.1 MB, free: 16.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.2333, allocations: 407.7 kB / 419.5 MB, free: 16.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003777/0.2371, allocations: 5.888 MB / 425.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003169/0.2403, allocations: 3.988 MB / 429.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003677/0.244, allocations: 1.796 MB / 431.1 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.2464, allocations: 2.271 MB / 433.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004444/0.2468, allocations: 272 kB / 433.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000833/0.2477, allocations: 355.8 kB / 434 MB, free: 1.664 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007079/0.2484, allocations: 1.191 MB / 435.2 MB, free: 480 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002324/0.2507, allocations: 2.307 MB / 437.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006612/0.2574, allocations: 7.86 MB / 445.4 MB, free: 6.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2574, allocations: 0 / 445.4 MB, free: 6.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2574, allocations: 0 / 445.4 MB, free: 6.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001592/0.2576, allocations: 0 / 445.4 MB, free: 6.258 MB / 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.007955/0.2655, allocations: 4.308 MB / 449.7 MB, free: 1.879 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2656, allocations: 8.031 kB / 449.7 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.267, allocations: 0.546 MB / 450.3 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/0.2712, allocations: 2.752 MB / 453 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.2714, allocations: 291.8 kB / 453.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005893/0.272, allocations: 391.9 kB / 453.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009277/0.2813, allocations: 5.781 MB / 459.5 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.314e-05/0.2814, allocations: 0 / 459.5 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/0.2817, allocations: 164 kB / 459.6 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002208/0.2819, allocations: 203.9 kB / 459.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00808/0.29, allocations: 5.008 MB / 464.8 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02394/0.314, allocations: 16.51 MB / 481.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006142/0.3202, allocations: 6.798 MB / 488.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003447/0.3237, allocations: 2.677 MB / 490.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.3239, allocations: 143 kB / 491 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.324, allocations: 56.56 kB / 491 MB, free: 7.523 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 4.429e-06/0.324, allocations: 0 / 491 MB, free: 7.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.01856/0.3426, allocations: 10.74 MB / 0.49 GB, free: 12.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.3426, allocations: 81.41 kB / 0.4901 GB, free: 12.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/0.3462, allocations: 2.612 MB / 0.4926 GB, free: 9.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001913/0.3464, allocations: 65.7 kB / 0.4927 GB, free: 9.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.3475, allocations: 1.64 MB / 0.4943 GB, free: 8.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006687/0.3482, allocations: 0.8394 MB / 0.4951 GB, free: 7.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3483, allocations: 52 kB / 0.4951 GB, free: 7.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3485, allocations: 402.7 kB / 0.4955 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/0.3503, allocations: 1.34 MB / 0.4968 GB, free: 5.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.3523, allocations: 1.649 MB / 0.4985 GB, free: 3.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003981/0.3563, allocations: 3.072 MB / 0.5014 GB, free: 500 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3563, allocations: 0 / 0.5014 GB, free: 500 kB / 378.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.1517/0.5081, allocations: 4.442 MB / 0.5058 GB, free: 91.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.5081, allocations: 7.906 kB / 0.5058 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.5081, allocations: 12.38 kB / 0.5058 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004457/0.5126, allocations: 1.642 MB / 0.5074 GB, free: 91.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.5139, allocations: 389.4 kB / 0.5078 GB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/0.5304, allocations: 23.49 MB / 0.5307 GB, free: 71.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.532, allocations: 102.5 kB / 0.5308 GB, free: 71.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.5321, allocations: 76 kB / 0.5309 GB, free: 71.8 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.001708/0.5338, allocations: 1.417 MB / 0.5323 GB, free: 70.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/0.5342, allocations: 288.3 kB / 0.5325 GB, free: 70.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005431/0.5396, allocations: 4.376 MB / 0.5368 GB, free: 65.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.5397, allocations: 35.86 kB / 0.5369 GB, free: 65.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.5397, allocations: 8 kB / 0.5369 GB, free: 65.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.5397, allocations: 15.95 kB / 0.5369 GB, free: 65.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.5497, allocations: 8.899 MB / 0.5456 GB, free: 56.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.5498, allocations: 4 kB / 0.5456 GB, free: 56.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.5508, allocations: 287.7 kB / 0.5458 GB, free: 56.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004321/0.5551, allocations: 1.626 MB / 0.5474 GB, free: 54.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.5553, allocations: 59.92 kB / 0.5475 GB, free: 54.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.5709, allocations: 23.22 MB / 0.5702 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.571, allocations: 0 / 0.5702 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006905/0.5779, allocations: 6.089 MB / 0.5761 GB, free: 24.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.579, allocations: 0.6849 MB / 0.5768 GB, free: 23.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/0.5793, allocations: 51.98 kB / 0.5768 GB, free: 23.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.5805, allocations: 131.9 kB / 0.577 GB, free: 23.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004177/0.5809, allocations: 218 kB / 0.5772 GB, free: 23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.581, allocations: 60 kB / 0.5772 GB, free: 22.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001937/0.583, allocations: 1.829 MB / 0.579 GB, free: 21.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.583, allocations: 4 kB / 0.579 GB, free: 21.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002601/0.5856, allocations: 0.9645 MB / 0.58 GB, free: 20.14 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.0004633/0.586, allocations: 261.5 kB / 0.5802 GB, free: 19.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00501/0.5911, allocations: 4.848 MB / 0.5849 GB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5911, allocations: 3.938 kB / 0.5849 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003382/0.5945, allocations: 3.359 MB / 0.5882 GB, free: 11.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/0.5979, allocations: 0.894 MB / 0.5891 GB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.6089, allocations: 10.36 MB / 0.5992 GB, free: 160 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002704/0.6116, allocations: 3.161 MB / 0.6023 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001847/0.6135, allocations: 0.5713 MB / 0.6029 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.6139, allocations: 171.4 kB / 0.603 GB, free: 12.21 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6139, allocations: 0 / 0.603 GB, free: 12.21 MB / 394.7 MB Notification: Performance of Templates: time 0.08846/0.7024, allocations: 58.3 MB / 0.66 GB, free: 2.324 MB / 442.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches