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.001377/0.001377, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001141/0.001141, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.701/1.701, allocations: 205.1 MB / 224.5 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.001235/0.001235, allocations: 55.88 kB / 328.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09829, allocations: 46.62 MB / 375.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.2441/0.3424, allocations: 10.65 MB / 385.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007979/0.3505, allocations: 3.274 MB / 389.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003162/0.3537, allocations: 70.38 kB / 389.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002645/0.3564, allocations: 0.7041 MB / 389.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004581/0.361, allocations: 1.14 MB / 391 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.3627, allocations: 0.4905 MB / 391.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007116/0.3698, allocations: 5.283 MB / 396.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005738/0.3756, allocations: 4.113 MB / 400.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006271/0.3819, allocations: 2.387 MB / 403.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006153/0.3881, allocations: 2.757 MB / 406 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002262/0.3904, allocations: 0.6219 MB / 406.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003526/0.3939, allocations: 0.7021 MB / 407.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002617/0.3966, allocations: 1.634 MB / 409 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006456/0.403, allocations: 2.765 MB / 411.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.4155, allocations: 8.399 MB / 420.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.4155, allocations: 4 kB / 420.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4155, allocations: 3.938 kB / 420.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003037/0.4159, allocations: 4 kB / 420.2 MB, free: 2.633 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.01703/0.4329, allocations: 5.08 MB / 425.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.433, allocations: 8.031 kB / 425.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.4348, allocations: 0.5498 MB / 425.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005317/0.4402, allocations: 2.62 MB / 428.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.4404, allocations: 287.8 kB / 428.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008769/0.4413, allocations: 395.9 kB / 429.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.4531, allocations: 5.785 MB / 434.9 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.887e-05/0.4533, allocations: 7.938 kB / 434.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004224/0.4537, allocations: 160 kB / 435.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/0.4539, allocations: 208 kB / 435.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009357/0.4633, allocations: 5.012 MB / 440.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/0.495, allocations: 16.19 MB / 456.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00792/0.503, allocations: 6.817 MB / 463.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004274/0.5073, allocations: 2.622 MB / 465.9 MB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000411/0.5077, allocations: 135.1 kB / 466 MB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.87e-05/0.5079, allocations: 72.44 kB / 466.1 MB, free: 3.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 5.821e-06/0.5079, allocations: 0 / 466.1 MB, free: 3.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.02308/0.531, allocations: 10.68 MB / 476.8 MB, free: 8.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.5311, allocations: 81.42 kB / 476.9 MB, free: 8.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004666/0.5357, allocations: 2.636 MB / 479.5 MB, free: 5.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003968/0.5362, allocations: 69.7 kB / 479.6 MB, free: 5.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.5374, allocations: 1.64 MB / 481.2 MB, free: 4.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009813/0.5384, allocations: 0.8354 MB / 482 MB, free: 3.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008791/0.5393, allocations: 416.5 kB / 482.4 MB, free: 2.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5394, allocations: 309 kB / 482.8 MB, free: 2.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/0.5416, allocations: 1.336 MB / 484.1 MB, free: 1.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.5441, allocations: 1.65 MB / 485.7 MB, free: 15.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004989/0.5491, allocations: 3.087 MB / 488.8 MB, free: 12.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.5492, allocations: 0 / 488.8 MB, free: 12.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008559/0.5577, allocations: 4.445 MB / 493.3 MB, free: 7.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.5578, allocations: 12.06 kB / 493.3 MB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.5578, allocations: 8 kB / 493.3 MB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005521/0.5634, allocations: 1.651 MB / 494.9 MB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.5651, allocations: 387.5 kB / 495.3 MB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02854/0.5936, allocations: 25.72 MB / 0.5088 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.596, allocations: 103.9 kB / 0.5089 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004591/0.5965, allocations: 80.06 kB / 0.509 GB, free: 10.41 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.002928/0.5994, allocations: 1.407 MB / 0.5104 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009299/0.6004, allocations: 296.6 kB / 0.5107 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008105/0.6085, allocations: 4.383 MB / 0.5149 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.6086, allocations: 27.94 kB / 0.515 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.878e-05/0.6086, allocations: 8 kB / 0.515 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/0.6086, allocations: 15.89 kB / 0.515 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/0.6265, allocations: 8.765 MB / 0.5235 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.6266, allocations: 0 / 0.5235 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.6279, allocations: 287.6 kB / 0.5238 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00528/0.6332, allocations: 1.628 MB / 0.5254 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003155/0.6335, allocations: 55.98 kB / 0.5255 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3015/0.935, allocations: 25.49 MB / 0.5504 GB, free: 144.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9351, allocations: 1.125 kB / 0.5504 GB, free: 144.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/0.9479, allocations: 6.089 MB / 0.5563 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002039/0.95, allocations: 0.6802 MB / 0.557 GB, free: 143.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005694/0.9506, allocations: 55.06 kB / 0.557 GB, free: 143.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.952, allocations: 121.4 kB / 0.5571 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006276/0.9527, allocations: 216 kB / 0.5573 GB, free: 143.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/0.9528, allocations: 67.8 kB / 0.5574 GB, free: 143.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003157/0.956, allocations: 1.849 MB / 0.5592 GB, free: 143 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.956, allocations: 0 / 0.5592 GB, free: 143 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005695/0.9617, allocations: 0.96 MB / 0.5601 GB, free: 142.9 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.0007541/0.9625, allocations: 234.4 kB / 0.5604 GB, free: 142.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008077/0.9706, allocations: 4.868 MB / 0.5651 GB, free: 140.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.9706, allocations: 2.812 kB / 0.5651 GB, free: 140.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006031/0.9767, allocations: 3.366 MB / 0.5684 GB, free: 138.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005116/0.9818, allocations: 0.9601 MB / 0.5694 GB, free: 138.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.9978, allocations: 8.469 MB / 0.5776 GB, free: 134.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002902/1.001, allocations: 3.169 MB / 0.5807 GB, free: 133.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002613/1.003, allocations: 0.5704 MB / 0.5813 GB, free: 133.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/1.004, allocations: 168.2 kB / 0.5814 GB, free: 133.1 MB / 478.1 MB Notification: Performance of SimCode: time 2.104e-06/1.004, allocations: 0 / 0.5814 GB, free: 133.1 MB / 478.1 MB Notification: Performance of Templates: time 0.08269/1.087, allocations: 60.11 MB / 0.6401 GB, free: 77.21 MB / 478.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/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