Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 110.9 kB / 17.74 MB, free: 5.316 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.001284/0.001284, allocations: 184.5 kB / 18.67 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 43.94 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2289, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007584/0.2366, allocations: 6.87 MB / 408.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004267/0.2409, allocations: 2.266 MB / 410.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008602/0.2418, allocations: 47.81 kB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.243, allocations: 452.9 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.2448, allocations: 0.6642 MB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.2454, allocations: 267.7 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002698/0.2481, allocations: 2.832 MB / 414.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002565/0.2507, allocations: 2.577 MB / 417.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002307/0.253, allocations: 1.31 MB / 418.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.2553, allocations: 1.537 MB / 420.2 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005856/0.2559, allocations: 348 kB / 420.6 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009222/0.2568, allocations: 431.8 kB / 421 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007722/0.2576, allocations: 0.8961 MB / 421.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001955/0.2596, allocations: 1.536 MB / 423.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004309/0.2639, allocations: 4.609 MB / 428 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2639, allocations: 0 / 428 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2639, allocations: 3.938 kB / 428 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.034e-05/0.264, allocations: 0 / 428 MB, free: 14.11 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.005485/0.2695, allocations: 2.967 MB / 431 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2695, allocations: 8.031 kB / 431 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007391/0.2703, allocations: 321.6 kB / 431.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.2728, allocations: 1.639 MB / 433 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.273, allocations: 164.4 kB / 433.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/0.2733, allocations: 215.9 kB / 433.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005225/0.2785, allocations: 3.178 MB / 436.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.272e-05/0.2786, allocations: 4 kB / 436.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.2788, allocations: 88 kB / 436.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.2789, allocations: 116.4 kB / 436.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004493/0.2834, allocations: 2.734 MB / 439.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01348/0.2969, allocations: 8.744 MB / 448.2 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.3002, allocations: 3.387 MB / 451.6 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/0.3021, allocations: 1.319 MB / 452.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.3023, allocations: 126.3 kB / 453 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.3024, allocations: 43.88 kB / 453.1 MB, free: 4.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.797e-06/0.3024, allocations: 0 / 453.1 MB, free: 4.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.0103/0.3127, allocations: 5.754 MB / 458.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.3128, allocations: 64.72 kB / 458.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.315, allocations: 1.49 MB / 460.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.3152, allocations: 45.7 kB / 460.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005836/0.3157, allocations: 0.9486 MB / 461.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.3161, allocations: 445.5 kB / 461.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/0.3165, allocations: 218.9 kB / 462 MB, free: 11.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3166, allocations: 353.9 kB / 462.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.3177, allocations: 0.6974 MB / 463.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.3189, allocations: 0.859 MB / 463.9 MB, free: 9.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.321, allocations: 1.605 MB / 465.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.3211, allocations: 7.938 kB / 465.5 MB, free: 7.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0038/0.3249, allocations: 2.306 MB / 467.8 MB, free: 5.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.3249, allocations: 4 kB / 467.8 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.3249, allocations: 4 kB / 467.8 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/0.3276, allocations: 0.8233 MB / 468.7 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/0.3284, allocations: 211.6 kB / 468.9 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.3407, allocations: 11.47 MB / 480.3 MB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.3419, allocations: 55.89 kB / 480.4 MB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.956e-05/0.342, allocations: 36.06 kB / 480.4 MB, free: 8.055 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.001435/0.3434, allocations: 0.8214 MB / 481.2 MB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/0.3438, allocations: 158.1 kB / 481.4 MB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003716/0.3475, allocations: 2.277 MB / 483.7 MB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.3476, allocations: 12 kB / 483.7 MB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3476, allocations: 11.98 kB / 483.7 MB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.3476, allocations: 3.984 kB / 483.7 MB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00796/0.3556, allocations: 4.719 MB / 488.4 MB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.3556, allocations: 0 / 488.4 MB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.3563, allocations: 159.8 kB / 488.6 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/0.3587, allocations: 0.8076 MB / 489.4 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.3588, allocations: 31.98 kB / 489.4 MB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.3702, allocations: 11.38 MB / 0.4891 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.3703, allocations: 7.969 kB / 0.4891 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004895/0.3752, allocations: 3.224 MB / 0.4922 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008728/0.3761, allocations: 399.1 kB / 0.4926 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.3763, allocations: 31.98 kB / 0.4926 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007533/0.3771, allocations: 71.94 kB / 0.4927 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/0.3774, allocations: 113 kB / 0.4928 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.298e-05/0.3775, allocations: 43.92 kB / 0.4929 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00144/0.3789, allocations: 1.056 MB / 0.4939 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3789, allocations: 0 / 0.4939 GB, free: 13.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001637/0.3806, allocations: 0.5156 MB / 0.4944 GB, free: 13.45 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.0004613/0.381, allocations: 213.2 kB / 0.4946 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003636/0.3847, allocations: 2.404 MB / 0.4969 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3847, allocations: 0.875 kB / 0.4969 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002271/0.387, allocations: 1.624 MB / 0.4985 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.3892, allocations: 0.5001 MB / 0.499 GB, free: 8.617 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007205/0.3965, allocations: 4.625 MB / 0.5035 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/0.3981, allocations: 1.987 MB / 0.5055 GB, free: 1.926 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.3984, allocations: 99.42 kB / 0.5056 GB, free: 1.828 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3984, allocations: 4 kB / 0.5056 GB, free: 1.824 MB / 430.1 MB Notification: Performance of Templates: time 0.2506/0.649, allocations: 75.84 MB / 0.5796 GB, free: 99.55 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches