Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 119.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001681/0.001681, allocations: 202.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2453, allocations: 50.54 MB / 410.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008391/0.2537, allocations: 6.898 MB / 417.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004443/0.2581, allocations: 2.325 MB / 419.4 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007056/0.2588, allocations: 47.75 kB / 419.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.2599, allocations: 476.7 kB / 420 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.2614, allocations: 0.6798 MB / 420.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.2619, allocations: 283.6 kB / 420.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002898/0.2648, allocations: 2.844 MB / 423.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/0.267, allocations: 1.859 MB / 425.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.2695, allocations: 1.323 MB / 426.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.2716, allocations: 1.537 MB / 428.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004439/0.272, allocations: 348 kB / 428.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007405/0.2728, allocations: 451.7 kB / 429.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008014/0.2736, allocations: 0.8998 MB / 430.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.2752, allocations: 1.533 MB / 431.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004847/0.2801, allocations: 4.633 MB / 436.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.2801, allocations: 4 kB / 436.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2801, allocations: 0 / 436.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.19e-05/0.2801, allocations: 0 / 436.3 MB, free: 7.188 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006147/0.2863, allocations: 3.042 MB / 439.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2863, allocations: 12.03 kB / 439.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.2874, allocations: 351.1 kB / 439.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.2904, allocations: 1.671 MB / 441.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.2906, allocations: 168.4 kB / 441.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003563/0.2909, allocations: 208 kB / 441.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005309/0.2962, allocations: 3.182 MB / 444.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.2963, allocations: 4 kB / 444.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.2965, allocations: 88 kB / 445 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.2966, allocations: 116.4 kB / 445.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004686/0.3013, allocations: 2.727 MB / 447.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01445/0.3157, allocations: 8.79 MB / 456.7 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003659/0.3194, allocations: 3.282 MB / 459.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/0.3214, allocations: 1.237 MB / 461.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.3216, allocations: 130.3 kB / 461.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.3217, allocations: 43.88 kB / 461.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.226e-06/0.3217, allocations: 4 kB / 461.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01121/0.3329, allocations: 5.773 MB / 467.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.3329, allocations: 64.72 kB / 467.2 MB, free: 7.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.3351, allocations: 1.495 MB / 468.7 MB, free: 5.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.3353, allocations: 57.7 kB / 468.7 MB, free: 5.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007909/0.336, allocations: 0.9588 MB / 469.7 MB, free: 4.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000408/0.3365, allocations: 464 kB / 470.2 MB, free: 4.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/0.3368, allocations: 222.9 kB / 470.4 MB, free: 4.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.337, allocations: 357.9 kB / 470.7 MB, free: 3.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.3381, allocations: 0.6896 MB / 471.4 MB, free: 3.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.3394, allocations: 0.8629 MB / 472.3 MB, free: 2.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.3417, allocations: 1.601 MB / 473.9 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3417, allocations: 7.938 kB / 473.9 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00403/0.3458, allocations: 2.291 MB / 476.2 MB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.3458, allocations: 11.28 kB / 476.2 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.3458, allocations: 7.938 kB / 476.2 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002752/0.3485, allocations: 0.8189 MB / 477 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/0.3494, allocations: 211.7 kB / 477.2 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/0.3629, allocations: 11.5 MB / 488.7 MB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.364, allocations: 59.84 kB / 488.8 MB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.3641, allocations: 36 kB / 488.8 MB, free: 1.066 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001411/0.3655, allocations: 0.8174 MB / 489.6 MB, free: 244 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.3658, allocations: 167.1 kB / 489.8 MB, free: 76 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004104/0.3699, allocations: 2.249 MB / 492 MB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.3699, allocations: 19.94 kB / 492.1 MB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.37, allocations: 8 kB / 492.1 MB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.37, allocations: 11.95 kB / 492.1 MB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008038/0.378, allocations: 4.691 MB / 496.8 MB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.378, allocations: 0 / 496.8 MB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006788/0.3787, allocations: 160 kB / 496.9 MB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/0.3813, allocations: 0.8112 MB / 497.7 MB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-05/0.3814, allocations: 31.98 kB / 497.8 MB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.3947, allocations: 11.38 MB / 0.4972 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.3947, allocations: 12.53 kB / 0.4972 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005439/0.4001, allocations: 3.221 MB / 0.5004 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009947/0.4011, allocations: 412 kB / 0.5008 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.4013, allocations: 28 kB / 0.5008 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007883/0.4021, allocations: 67.94 kB / 0.5009 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/0.4024, allocations: 117.1 kB / 0.501 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/0.4025, allocations: 39.94 kB / 0.501 GB, free: 8.078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001588/0.4041, allocations: 1.064 MB / 0.502 GB, free: 7.012 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4041, allocations: 0 / 0.502 GB, free: 7.012 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001841/0.4059, allocations: 0.5117 MB / 0.5025 GB, free: 6.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000533/0.4065, allocations: 212.6 kB / 0.5027 GB, free: 6.289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003865/0.4103, allocations: 2.357 MB / 0.505 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4103, allocations: 0 / 0.505 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002437/0.4128, allocations: 1.59 MB / 0.5066 GB, free: 2.238 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.4149, allocations: 0.4958 MB / 0.5071 GB, free: 1.746 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008284/0.4232, allocations: 4.705 MB / 0.5117 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/0.4253, allocations: 2.043 MB / 0.5137 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001094/0.4264, allocations: 309.5 kB / 0.514 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.4267, allocations: 95.42 kB / 0.5141 GB, free: 10.51 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4267, allocations: 0 / 0.5141 GB, free: 10.51 MB / 446.1 MB Notification: Performance of Templates: time 0.251/0.6777, allocations: 33.2 MB / 0.5465 GB, free: 125.1 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches