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.001631/0.001631, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001614/0.001615, allocations: 191 kB / 19.29 MB, free: 3.848 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.514/1.514, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001126/0.001127, allocations: 47.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0825/0.08364, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01108/0.09477, allocations: 10.65 MB / 339.4 MB, free: 9.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006974/0.1018, allocations: 3.268 MB / 342.7 MB, free: 5.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.1041, allocations: 71.62 kB / 342.7 MB, free: 5.699 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.1058, allocations: 0.6982 MB / 343.4 MB, free: 4.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.1085, allocations: 1.134 MB / 344.6 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009086/0.1094, allocations: 0.4916 MB / 345.1 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005057/0.1145, allocations: 5.284 MB / 350.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004133/0.1186, allocations: 4.116 MB / 354.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00397/0.1226, allocations: 2.373 MB / 356.8 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003795/0.1264, allocations: 2.763 MB / 359.6 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009912/0.1274, allocations: 0.6211 MB / 360.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.1288, allocations: 0.6991 MB / 360.9 MB, free: 3.402 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.1302, allocations: 1.636 MB / 362.5 MB, free: 1.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003095/0.1334, allocations: 2.762 MB / 365.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00772/0.1411, allocations: 8.393 MB / 373.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.1411, allocations: 4 kB / 373.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1411, allocations: 0 / 373.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002393/0.1414, allocations: 0 / 373.7 MB, free: 6.566 MB / 318.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.01314/0.1545, allocations: 5.079 MB / 378.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1546, allocations: 8.031 kB / 378.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.1562, allocations: 0.5499 MB / 379.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1643/0.3206, allocations: 2.622 MB / 382 MB, free: 48.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.321, allocations: 293.3 kB / 382.3 MB, free: 47.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/0.3225, allocations: 387.6 kB / 382.6 MB, free: 47.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.334, allocations: 5.789 MB / 388.4 MB, free: 45.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.886e-05/0.3341, allocations: 6.75 kB / 388.4 MB, free: 45.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003481/0.3345, allocations: 161.8 kB / 388.6 MB, free: 45.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002281/0.3347, allocations: 203.3 kB / 388.8 MB, free: 45.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00832/0.343, allocations: 5.014 MB / 393.8 MB, free: 43.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02304/0.3661, allocations: 16.19 MB / 410 MB, free: 30.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004995/0.3712, allocations: 6.814 MB / 416.8 MB, free: 22.78 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/0.3741, allocations: 2.644 MB / 419.4 MB, free: 20.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.3744, allocations: 142.8 kB / 419.6 MB, free: 19.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3745, allocations: 60.56 kB / 419.6 MB, free: 19.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=249): time 4.098e-06/0.3745, allocations: 0 / 419.6 MB, free: 19.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=256): time 0.01648/0.391, allocations: 10.69 MB / 430.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.3911, allocations: 81.36 kB / 430.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/0.3942, allocations: 2.632 MB / 433 MB, free: 6.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002228/0.3944, allocations: 73.7 kB / 433.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007095/0.3951, allocations: 1.636 MB / 434.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000438/0.3956, allocations: 0.8419 MB / 435.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000556/0.3962, allocations: 412.6 kB / 436 MB, free: 3.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.3962, allocations: 305.1 kB / 436.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.3978, allocations: 1.34 MB / 437.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.3995, allocations: 1.65 MB / 439.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004136/0.4037, allocations: 3.082 MB / 442.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.4037, allocations: 4 kB / 442.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007389/0.4111, allocations: 4.456 MB / 446.8 MB, free: 8.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.4111, allocations: 8 kB / 446.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.4111, allocations: 8 kB / 446.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005198/0.4163, allocations: 1.643 MB / 448.5 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.418, allocations: 391.5 kB / 448.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02661/0.4446, allocations: 25.72 MB / 474.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.447, allocations: 91.92 kB / 474.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/0.4473, allocations: 80.09 kB / 474.8 MB, free: 10.8 MB / 366.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.002525/0.4499, allocations: 1.403 MB / 476.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006981/0.4506, allocations: 300.5 kB / 476.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007077/0.4577, allocations: 4.383 MB / 480.8 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/0.4577, allocations: 24 kB / 480.9 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.4577, allocations: 8 kB / 480.9 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/0.4578, allocations: 11.95 kB / 480.9 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.4723, allocations: 8.779 MB / 489.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.4724, allocations: 0 / 489.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.4735, allocations: 291.6 kB / 489.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005021/0.4786, allocations: 1.616 MB / 491.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/0.4788, allocations: 55.98 kB / 491.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02581/0.5046, allocations: 25.49 MB / 0.505 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5047, allocations: 3.984 kB / 0.505 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/0.5147, allocations: 6.102 MB / 0.5109 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/0.5167, allocations: 0.6733 MB / 0.5116 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/0.5172, allocations: 55.98 kB / 0.5117 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.5185, allocations: 127.8 kB / 0.5118 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005657/0.5191, allocations: 213.7 kB / 0.512 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.5192, allocations: 63.98 kB / 0.512 GB, free: 7.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002863/0.5221, allocations: 1.852 MB / 0.5138 GB, free: 5.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5221, allocations: 0 / 0.5138 GB, free: 5.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003724/0.5259, allocations: 0.9492 MB / 0.5148 GB, free: 4.715 MB / 414.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.0005902/0.5265, allocations: 244.8 kB / 0.515 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007272/0.5337, allocations: 4.879 MB / 0.5198 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.5338, allocations: 4 kB / 0.5198 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005031/0.5388, allocations: 3.361 MB / 0.5231 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/0.5429, allocations: 0.9561 MB / 0.524 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.5579, allocations: 8.476 MB / 0.5323 GB, free: 2.504 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1619/0.7199, allocations: 3.165 MB / 0.5354 GB, free: 138.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002095/0.722, allocations: 0.579 MB / 0.5359 GB, free: 138.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/0.7225, allocations: 167.4 kB / 0.5361 GB, free: 138.3 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/0.7226, allocations: 0.5 kB / 0.5361 GB, free: 138.3 MB / 430.1 MB Notification: Performance of Templates: time 0.08261/0.8052, allocations: 59.1 MB / 0.5938 GB, free: 98.27 MB / 430.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 -s cvode -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