Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 247 MB, free: 9.074 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 61.44 kB / 306.9 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08876/0.0901, allocations: 50.53 MB / 357.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008276/0.09842, allocations: 6.873 MB / 364.3 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004443/0.1029, allocations: 2.313 MB / 366.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.1042, allocations: 43.81 kB / 366.7 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.1058, allocations: 385.8 kB / 367 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.1078, allocations: 0.6218 MB / 367.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007275/0.1086, allocations: 243.8 kB / 367.9 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003416/0.112, allocations: 3.226 MB / 371.1 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1549/0.2669, allocations: 2.15 MB / 373.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/0.2694, allocations: 1.113 MB / 374.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.271, allocations: 1.47 MB / 375.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003776/0.2714, allocations: 214.1 kB / 376.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00071/0.2721, allocations: 317 kB / 376.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000616/0.2728, allocations: 0.7482 MB / 377.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.274, allocations: 1.38 MB / 378.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003117/0.2771, allocations: 3.844 MB / 382.4 MB, free: 7.797 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2771, allocations: 0 / 382.4 MB, free: 7.797 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2771, allocations: 1.25 kB / 382.4 MB, free: 7.797 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.104e-05/0.2772, allocations: 0 / 382.4 MB, free: 7.797 MB / 302.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.005091/0.2823, allocations: 2.975 MB / 385.3 MB, free: 6.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2824, allocations: 10.53 kB / 385.3 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009816/0.2834, allocations: 340.9 kB / 385.7 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.2855, allocations: 1.605 MB / 387.3 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-05/0.2856, allocations: 164.5 kB / 387.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.2859, allocations: 216.8 kB / 387.6 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004489/0.2904, allocations: 3.188 MB / 390.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/0.2905, allocations: 5.141 kB / 390.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.2907, allocations: 91.75 kB / 390.9 MB, free: 3.027 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.2908, allocations: 111.1 kB / 391 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004078/0.2949, allocations: 2.727 MB / 393.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.3079, allocations: 8.872 MB / 402.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003618/0.3116, allocations: 3.384 MB / 406 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/0.3137, allocations: 1.323 MB / 407.3 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/0.314, allocations: 126.4 kB / 407.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.615e-05/0.3141, allocations: 53.11 kB / 407.5 MB, free: 6.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 5.52e-06/0.3141, allocations: 0 / 407.5 MB, free: 6.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01289/0.327, allocations: 5.75 MB / 413.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.3271, allocations: 64.72 kB / 413.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.3302, allocations: 1.499 MB / 414.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.3304, allocations: 49.7 kB / 414.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007975/0.3312, allocations: 0.9407 MB / 415.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/0.3316, allocations: 447.4 kB / 416.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004423/0.3321, allocations: 214.9 kB / 416.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3322, allocations: 357.9 kB / 416.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.3334, allocations: 0.7038 MB / 417.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.3346, allocations: 0.859 MB / 418.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.3369, allocations: 1.604 MB / 420 MB, free: 10.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.3369, allocations: 0 / 420 MB, free: 10.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004001/0.341, allocations: 2.31 MB / 422.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.341, allocations: 8 kB / 422.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.341, allocations: 4 kB / 422.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/0.3439, allocations: 0.828 MB / 423.1 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/0.3447, allocations: 202.6 kB / 423.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.3566, allocations: 10.52 MB / 433.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.358, allocations: 51.95 kB / 433.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.3583, allocations: 44 kB / 433.9 MB, free: 11.73 MB / 350.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.001656/0.3599, allocations: 0.8209 MB / 434.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000485/0.3604, allocations: 166.1 kB / 434.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/0.3645, allocations: 2.268 MB / 437.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.3646, allocations: 12 kB / 437.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3646, allocations: 12 kB / 437.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.3646, allocations: 3.984 kB / 437.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008705/0.3733, allocations: 4.739 MB / 442 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.3733, allocations: 0 / 442 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00069/0.374, allocations: 166.6 kB / 442.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002713/0.3768, allocations: 0.8114 MB / 442.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.3769, allocations: 31.98 kB / 443 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/0.3884, allocations: 10.39 MB / 453.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3884, allocations: 4.062 kB / 453.4 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00519/0.3936, allocations: 3.23 MB / 456.6 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000907/0.3945, allocations: 403.1 kB / 457 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003639/0.3949, allocations: 28 kB / 457 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009114/0.3958, allocations: 67.94 kB / 457.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/0.3961, allocations: 116.4 kB / 457.2 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.072e-05/0.3962, allocations: 32.47 kB / 457.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001762/0.398, allocations: 1.064 MB / 458.3 MB, free: 2.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.398, allocations: 0 / 458.3 MB, free: 2.828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002025/0.4, allocations: 0.5078 MB / 458.8 MB, free: 2.32 MB / 366.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.0005321/0.4005, allocations: 219.3 kB / 459 MB, free: 2.109 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003707/0.4043, allocations: 2.391 MB / 461.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4043, allocations: 0 / 461.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002352/0.4066, allocations: 1.619 MB / 463 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.4094, allocations: 491.6 kB / 463.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009355/0.4188, allocations: 5.626 MB / 469.1 MB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/0.4208, allocations: 1.987 MB / 471.1 MB, free: 5.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/0.4213, allocations: 99.42 kB / 471.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4213, allocations: 0 / 471.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of Templates: time 0.2511/0.6725, allocations: 75.69 MB / 0.5341 GB, free: 148.5 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches