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.001238/0.001238, allocations: 107.9 kB / 18.4 MB, free: 4.695 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.001175/0.001175, allocations: 182.4 kB / 19.33 MB, free: 3.777 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.22/1.22, 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.001119/0.001119, allocations: 47.94 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07353/0.07465, allocations: 46.63 MB / 375.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.1756/0.2503, allocations: 10.65 MB / 386.5 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00657/0.257, allocations: 3.278 MB / 389.8 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.2585, allocations: 71.75 kB / 389.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.2601, allocations: 0.7037 MB / 390.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002676/0.2628, allocations: 1.14 MB / 391.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009403/0.2638, allocations: 0.4913 MB / 392.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005265/0.269, allocations: 5.283 MB / 397.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004153/0.2732, allocations: 4.113 MB / 401.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004728/0.278, allocations: 2.385 MB / 404 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004913/0.2829, allocations: 2.753 MB / 406.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.2843, allocations: 0.6254 MB / 407.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.2866, allocations: 0.7024 MB / 408 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001518/0.2882, allocations: 1.627 MB / 409.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004323/0.2925, allocations: 2.767 MB / 412.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007822/0.3003, allocations: 8.407 MB / 420.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3004, allocations: 4 kB / 420.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3004, allocations: 0 / 420.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001668/0.3006, allocations: 0 / 420.9 MB, free: 2.52 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.009516/0.3101, allocations: 5.08 MB / 425.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3101, allocations: 8.031 kB / 425.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.3114, allocations: 0.5509 MB / 426.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/0.3151, allocations: 2.623 MB / 429.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.3153, allocations: 295.8 kB / 429.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005217/0.3158, allocations: 387.9 kB / 429.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008811/0.3246, allocations: 5.785 MB / 435.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.593e-05/0.3247, allocations: 3.938 kB / 435.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003432/0.3251, allocations: 160 kB / 435.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001823/0.3253, allocations: 208 kB / 435.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008165/0.3334, allocations: 5.012 MB / 440.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02414/0.3576, allocations: 16.19 MB / 457.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005936/0.3636, allocations: 6.809 MB / 463.9 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003298/0.3669, allocations: 2.622 MB / 466.6 MB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.3672, allocations: 135 kB / 466.7 MB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.3673, allocations: 72.5 kB / 466.8 MB, free: 3.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 4.128e-06/0.3673, allocations: 0 / 466.8 MB, free: 3.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.01855/0.3859, allocations: 10.69 MB / 477.5 MB, free: 8.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3859, allocations: 81.42 kB / 477.5 MB, free: 8.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/0.3895, allocations: 2.632 MB / 480.2 MB, free: 5.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.3897, allocations: 69.7 kB / 480.2 MB, free: 5.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.3908, allocations: 1.636 MB / 481.9 MB, free: 4.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006232/0.3914, allocations: 0.8432 MB / 482.7 MB, free: 3.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005789/0.392, allocations: 412.5 kB / 483.1 MB, free: 2.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.3921, allocations: 305.1 kB / 483.4 MB, free: 2.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/0.3939, allocations: 1.336 MB / 484.8 MB, free: 1.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/0.3959, allocations: 1.654 MB / 486.4 MB, free: 15.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.3998, allocations: 3.083 MB / 489.5 MB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.3998, allocations: 3.938 kB / 489.5 MB, free: 12.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007046/0.4069, allocations: 4.441 MB / 493.9 MB, free: 7.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.4069, allocations: 12.06 kB / 494 MB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.407, allocations: 8 kB / 494 MB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004965/0.4119, allocations: 1.659 MB / 495.6 MB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.4135, allocations: 383.5 kB / 496 MB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02392/0.4374, allocations: 25.71 MB / 0.5095 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.4398, allocations: 103.9 kB / 0.5096 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.44, allocations: 80 kB / 0.5097 GB, free: 10.3 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.002439/0.4424, allocations: 1.415 MB / 0.511 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006087/0.4431, allocations: 292.5 kB / 0.5113 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006866/0.4499, allocations: 4.379 MB / 0.5156 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.45, allocations: 27.94 kB / 0.5156 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.45, allocations: 8 kB / 0.5156 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.45, allocations: 15.95 kB / 0.5156 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/0.4633, allocations: 8.769 MB / 0.5242 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4633, allocations: 0 / 0.5242 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.4644, allocations: 291.6 kB / 0.5245 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004609/0.469, allocations: 1.624 MB / 0.5261 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/0.4692, allocations: 55.98 kB / 0.5261 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2171/0.6863, allocations: 25.48 MB / 0.551 GB, free: 143.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6864, allocations: 1.375 kB / 0.551 GB, free: 143.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009359/0.6957, allocations: 6.095 MB / 0.557 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/0.6973, allocations: 0.6795 MB / 0.5576 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004278/0.6978, allocations: 57.66 kB / 0.5577 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.6991, allocations: 119.7 kB / 0.5578 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005157/0.6996, allocations: 218.1 kB / 0.558 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.6997, allocations: 63.22 kB / 0.5581 GB, free: 143.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002687/0.7024, allocations: 1.852 MB / 0.5599 GB, free: 142.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7024, allocations: 0 / 0.5599 GB, free: 142.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003368/0.7058, allocations: 0.9559 MB / 0.5608 GB, free: 142.6 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.0005447/0.7064, allocations: 239.6 kB / 0.561 GB, free: 142.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00643/0.7128, allocations: 4.863 MB / 0.5658 GB, free: 140.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.7128, allocations: 1.188 kB / 0.5658 GB, free: 140.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004208/0.717, allocations: 3.368 MB / 0.5691 GB, free: 138.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/0.721, allocations: 0.9524 MB / 0.57 GB, free: 137.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.7327, allocations: 8.413 MB / 0.5782 GB, free: 134.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/0.7347, allocations: 3.099 MB / 0.5812 GB, free: 133 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.7353, allocations: 179 kB / 0.5814 GB, free: 132.9 MB / 478.1 MB Notification: Performance of SimCode: time 8.32e-07/0.7353, allocations: 0 / 0.5814 GB, free: 132.9 MB / 478.1 MB Notification: Performance of Templates: time 0.4006/1.136, allocations: 261.6 MB / 0.8369 GB, free: 88.56 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