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.001187/0.001187, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001298, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 60.08 kB / 306.4 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.08713, allocations: 50.53 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007519/0.09468, allocations: 6.865 MB / 363.8 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003756/0.09847, allocations: 2.302 MB / 366.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.099, allocations: 43.81 kB / 366.2 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009709/0.1, allocations: 381.8 kB / 366.6 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.1014, allocations: 0.618 MB / 367.2 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.1019, allocations: 239.8 kB / 367.4 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002594/0.1045, allocations: 2.832 MB / 370.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1579/0.2624, allocations: 2.569 MB / 372.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003284/0.2657, allocations: 1.324 MB / 374.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.2677, allocations: 1.573 MB / 375.7 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005209/0.2682, allocations: 349.3 kB / 376.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008821/0.2691, allocations: 435.3 kB / 376.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007672/0.2699, allocations: 0.9025 MB / 377.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.2714, allocations: 1.524 MB / 378.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005084/0.2765, allocations: 4.595 MB / 383.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2765, allocations: 0 / 383.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2765, allocations: 4 kB / 383.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000125/0.2766, allocations: 0 / 383.5 MB, free: 7.336 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.006339/0.283, allocations: 2.973 MB / 386.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.2831, allocations: 15.03 kB / 386.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.2842, allocations: 334.7 kB / 386.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/0.2867, allocations: 1.612 MB / 388.4 MB, free: 4.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.2869, allocations: 160 kB / 388.6 MB, free: 4.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003143/0.2872, allocations: 217.2 kB / 388.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004994/0.2922, allocations: 3.183 MB / 392 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/0.2923, allocations: 1.281 kB / 392 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/0.2925, allocations: 90.25 kB / 392.1 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.2926, allocations: 113.4 kB / 392.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003762/0.2963, allocations: 2.73 MB / 394.9 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.3089, allocations: 8.87 MB / 403.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003445/0.3123, allocations: 3.38 MB / 407.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.3143, allocations: 1.341 MB / 408.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.3145, allocations: 118.4 kB / 408.6 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.3146, allocations: 49.84 kB / 408.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 2.866e-06/0.3146, allocations: 4 kB / 408.7 MB, free: 5.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01107/0.3257, allocations: 5.753 MB / 414.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.3258, allocations: 64.72 kB / 414.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.3279, allocations: 1.499 MB / 416 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-05/0.328, allocations: 49.7 kB / 416 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006895/0.3287, allocations: 0.9447 MB / 417 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.3291, allocations: 447.1 kB / 417.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/0.3295, allocations: 210.9 kB / 417.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3297, allocations: 361.9 kB / 418 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.3307, allocations: 0.6935 MB / 418.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.3318, allocations: 0.8617 MB / 419.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.334, allocations: 1.604 MB / 421.1 MB, free: 8.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.334, allocations: 0 / 421.1 MB, free: 8.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003889/0.3379, allocations: 2.311 MB / 423.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3379, allocations: 6.5 kB / 423.4 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.338, allocations: 4 kB / 423.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002718/0.3407, allocations: 0.8285 MB / 424.3 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007882/0.3415, allocations: 202.5 kB / 424.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.3541, allocations: 11.51 MB / 436 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.3555, allocations: 51.95 kB / 436 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.3556, allocations: 44.06 kB / 436.1 MB, free: 9.129 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.001476/0.3571, allocations: 0.8278 MB / 436.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/0.3575, allocations: 158.1 kB / 437.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.3614, allocations: 2.273 MB / 439.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.3614, allocations: 12 kB / 439.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3614, allocations: 8 kB / 439.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.3614, allocations: 4.047 kB / 439.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007422/0.3688, allocations: 4.749 MB / 444.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3689, allocations: 0 / 444.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006551/0.3695, allocations: 161.8 kB / 444.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002591/0.3721, allocations: 0.8112 MB / 445.1 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-05/0.3722, allocations: 35.98 kB / 445.1 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/0.384, allocations: 11.37 MB / 456.5 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.384, allocations: 4.094 kB / 456.5 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005016/0.3891, allocations: 3.234 MB / 459.7 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009094/0.39, allocations: 403.1 kB / 460.1 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.3902, allocations: 32.05 kB / 460.1 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007462/0.3909, allocations: 71.94 kB / 460.2 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.3912, allocations: 113.1 kB / 460.3 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/0.3913, allocations: 40.45 kB / 460.4 MB, free: 276 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001564/0.3929, allocations: 1.07 MB / 461.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3929, allocations: 0 / 461.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001802/0.3947, allocations: 0.5117 MB / 461.9 MB, free: 14.69 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.0004741/0.3952, allocations: 216.1 kB / 462.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004624/0.3998, allocations: 2.933 MB / 465.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3998, allocations: 0 / 465.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.4021, allocations: 1.631 MB / 466.7 MB, free: 9.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.4043, allocations: 0.5025 MB / 467.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007846/0.4121, allocations: 5.626 MB / 472.8 MB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.4138, allocations: 2.051 MB / 474.9 MB, free: 1.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001037/0.4149, allocations: 313.5 kB / 475.2 MB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.4151, allocations: 91.44 kB / 475.3 MB, free: 1.238 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4152, allocations: 0 / 475.3 MB, free: 1.238 MB / 382.1 MB Notification: Performance of Templates: time 0.05101/0.4662, allocations: 32.3 MB / 0.4957 GB, free: 1.336 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/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