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.001531/0.001531, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001603, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.77 kB / 307.7 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.0959, allocations: 50.53 MB / 358.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008689/0.1046, allocations: 6.872 MB / 365.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004579/0.1092, allocations: 2.337 MB / 367.4 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008295/0.1101, allocations: 47.81 kB / 367.4 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.1113, allocations: 449 kB / 367.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.1132, allocations: 0.668 MB / 368.6 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006122/0.1139, allocations: 283.6 kB / 368.8 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003359/0.1172, allocations: 2.844 MB / 371.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1657/0.2829, allocations: 2.564 MB / 374.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003539/0.2865, allocations: 1.315 MB / 375.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00295/0.2895, allocations: 1.535 MB / 377.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.2906, allocations: 353.8 kB / 377.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.2919, allocations: 439.1 kB / 377.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009243/0.2928, allocations: 0.8914 MB / 378.8 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.2946, allocations: 1.531 MB / 380.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005564/0.3001, allocations: 4.586 MB / 384.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3002, allocations: 2.625 kB / 384.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3002, allocations: 0 / 384.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001314/0.3003, allocations: 0 / 384.9 MB, free: 6.957 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.007641/0.308, allocations: 2.974 MB / 387.8 MB, free: 5.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.308, allocations: 14.47 kB / 387.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.3096, allocations: 336.5 kB / 388.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/0.3131, allocations: 1.608 MB / 389.8 MB, free: 4.172 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.3133, allocations: 165.4 kB / 390 MB, free: 4.098 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000459/0.3137, allocations: 217.4 kB / 390.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005519/0.3193, allocations: 3.181 MB / 393.4 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.815e-05/0.3193, allocations: 5.047 kB / 393.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.3196, allocations: 91.09 kB / 393.4 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/0.3197, allocations: 113.5 kB / 393.6 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004817/0.3245, allocations: 2.729 MB / 396.3 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.3418, allocations: 8.867 MB / 405.2 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004024/0.3459, allocations: 3.383 MB / 408.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.3482, allocations: 1.34 MB / 409.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.3485, allocations: 118.4 kB / 410 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.3486, allocations: 47.88 kB / 410 MB, free: 4.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.017e-06/0.3486, allocations: 0 / 410 MB, free: 4.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01176/0.3604, allocations: 5.754 MB / 415.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.3605, allocations: 64.72 kB / 415.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.3629, allocations: 1.502 MB / 417.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.363, allocations: 49.7 kB / 417.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007819/0.3638, allocations: 0.9437 MB / 418.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/0.3643, allocations: 444.3 kB / 418.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.3646, allocations: 218.9 kB / 419 MB, free: 11.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3648, allocations: 357.9 kB / 419.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.3659, allocations: 0.6896 MB / 420 MB, free: 10.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.3672, allocations: 0.8655 MB / 420.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.3696, allocations: 1.598 MB / 422.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3696, allocations: 0 / 422.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004107/0.3737, allocations: 2.315 MB / 424.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.3738, allocations: 8 kB / 424.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.3738, allocations: 4 kB / 424.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/0.3765, allocations: 0.8319 MB / 425.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008322/0.3774, allocations: 203.3 kB / 425.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/0.3907, allocations: 11.5 MB / 437.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.392, allocations: 51.95 kB / 437.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.3922, allocations: 44.56 kB / 437.5 MB, free: 8.535 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.001487/0.3937, allocations: 0.8174 MB / 438.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/0.3941, allocations: 166.1 kB / 438.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/0.3981, allocations: 2.269 MB / 440.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.3981, allocations: 16 kB / 440.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.3982, allocations: 4 kB / 440.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.3982, allocations: 15.91 kB / 440.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008496/0.4067, allocations: 4.734 MB / 445.5 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.4067, allocations: 0 / 445.5 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/0.4074, allocations: 162.5 kB / 445.6 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002639/0.4101, allocations: 0.8132 MB / 446.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.4102, allocations: 31.98 kB / 446.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/0.4234, allocations: 11.39 MB / 457.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4234, allocations: 1.5 kB / 457.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005318/0.4287, allocations: 3.231 MB / 461.1 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.4298, allocations: 403.1 kB / 461.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.43, allocations: 31.98 kB / 461.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/0.4308, allocations: 67.95 kB / 461.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/0.4312, allocations: 113.1 kB / 461.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.839e-05/0.4313, allocations: 35.98 kB / 461.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001683/0.4329, allocations: 1.071 MB / 462.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.433, allocations: 0 / 462.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001979/0.4349, allocations: 0.5156 MB / 463.3 MB, free: 14.1 MB / 382.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.0005347/0.4355, allocations: 204.4 kB / 463.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005094/0.4406, allocations: 2.94 MB / 466.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4406, allocations: 256 / 466.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002497/0.4431, allocations: 1.62 MB / 468.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.4456, allocations: 0.5083 MB / 468.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008503/0.4541, allocations: 4.677 MB / 473.3 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/0.4561, allocations: 1.995 MB / 475.3 MB, free: 2.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.4566, allocations: 99.42 kB / 475.4 MB, free: 1.965 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4566, allocations: 0 / 475.4 MB, free: 1.965 MB / 382.1 MB Notification: Performance of Templates: time 0.2376/0.6942, allocations: 75.7 MB / 0.5381 GB, free: 148.8 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.1.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