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.0007704/0.0007704, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009826/0.0009827, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002129/0.000213, allocations: 11.98 kB / 308.4 MB, free: 0.7656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08503/0.08526, allocations: 51.52 MB / 359.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006424/0.09172, allocations: 6.39 MB / 366.3 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0041/0.09585, allocations: 2.286 MB / 368.6 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009804/0.09686, allocations: 47.75 kB / 368.6 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.09794, allocations: 377.8 kB / 369 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.09976, allocations: 0.6179 MB / 369.6 MB, free: 3.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.1004, allocations: 239.8 kB / 369.9 MB, free: 3.254 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003182/0.1036, allocations: 3.23 MB / 373.1 MB, free: 12 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1672/0.2708, allocations: 2.131 MB / 375.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.2736, allocations: 0.979 MB / 376.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.276, allocations: 1.288 MB / 377.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008528/0.2768, allocations: 148.3 kB / 377.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.2782, allocations: 244.5 kB / 377.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.2793, allocations: 0.6576 MB / 378.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00262/0.2819, allocations: 1.29 MB / 379.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005743/0.2877, allocations: 3.743 MB / 383.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.2877, allocations: 0 / 383.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.2877, allocations: 0 / 383.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001808/0.2879, allocations: 1 kB / 383.6 MB, free: 8.301 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.006615/0.2946, allocations: 2.532 MB / 386.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.2946, allocations: 9.719 kB / 386.1 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.2964, allocations: 348 kB / 386.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.2998, allocations: 1.612 MB / 388.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.3, allocations: 169.8 kB / 388.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004354/0.3004, allocations: 215.9 kB / 388.4 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005382/0.3058, allocations: 3.187 MB / 391.6 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.125e-05/0.3059, allocations: 1.281 kB / 391.6 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002104/0.3061, allocations: 88.7 kB / 391.7 MB, free: 3.781 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.3062, allocations: 113.5 kB / 391.8 MB, free: 3.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004523/0.3107, allocations: 2.75 MB / 394.6 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.324, allocations: 8.946 MB / 403.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/0.3275, allocations: 3.387 MB / 406.9 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.3294, allocations: 1.329 MB / 408.2 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.3297, allocations: 123.2 kB / 408.4 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.3297, allocations: 54.44 kB / 408.4 MB, free: 7.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 2.766e-06/0.3298, allocations: 4 kB / 408.4 MB, free: 7 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01121/0.341, allocations: 5.805 MB / 414.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.341, allocations: 72.72 kB / 414.3 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.3436, allocations: 1.495 MB / 415.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.3438, allocations: 52.33 kB / 415.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006749/0.3445, allocations: 0.939 MB / 416.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000404/0.3449, allocations: 451.4 kB / 417.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.3451, allocations: 109.7 kB / 417.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3452, allocations: 357.9 kB / 417.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.3464, allocations: 0.7013 MB / 418.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.3476, allocations: 0.8629 MB / 419.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.3499, allocations: 1.612 MB / 420.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3499, allocations: 4 kB / 420.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003924/0.3539, allocations: 2.325 MB / 423.2 MB, free: 8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3539, allocations: 12.03 kB / 423.2 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.3539, allocations: 4 kB / 423.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00283/0.3568, allocations: 0.8141 MB / 424 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/0.3576, allocations: 210.5 kB / 424.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.3691, allocations: 10.53 MB / 434.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.3704, allocations: 56.03 kB / 434.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.3706, allocations: 43.92 kB / 434.8 MB, free: 11.86 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.001638/0.3723, allocations: 0.8165 MB / 435.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004552/0.3727, allocations: 162.1 kB / 435.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/0.377, allocations: 2.295 MB / 438.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.3771, allocations: 16 kB / 438.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.3771, allocations: 4 kB / 438.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.3771, allocations: 7.969 kB / 438.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008196/0.3853, allocations: 4.764 MB / 442.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.3853, allocations: 0 / 442.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/0.386, allocations: 170 kB / 443.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002723/0.3887, allocations: 0.8178 MB / 443.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.3889, allocations: 27.98 kB / 443.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.4, allocations: 10.4 MB / 454.3 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4, allocations: 0 / 454.3 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005147/0.4051, allocations: 3.254 MB / 457.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009492/0.4061, allocations: 403.1 kB / 458 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000408/0.4065, allocations: 31.98 kB / 458 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.4076, allocations: 71.95 kB / 458.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.4079, allocations: 117.1 kB / 458.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.88e-05/0.408, allocations: 32 kB / 458.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001741/0.4097, allocations: 1.068 MB / 459.3 MB, free: 2.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4097, allocations: 4 kB / 459.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002082/0.4118, allocations: 0.5078 MB / 459.8 MB, free: 2.352 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.0005194/0.4123, allocations: 226.7 kB / 460 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003686/0.416, allocations: 2.404 MB / 462.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.4161, allocations: 0 / 462.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002297/0.4184, allocations: 1.626 MB / 464 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/0.4212, allocations: 488.7 kB / 464.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009101/0.4303, allocations: 5.698 MB / 470.2 MB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/0.4323, allocations: 1.995 MB / 472.2 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.4328, allocations: 99.42 kB / 472.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4328, allocations: 0 / 472.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of Templates: time 0.2402/0.6729, allocations: 75.38 MB / 0.5348 GB, free: 148.2 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