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.001519/0.001519, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001777/0.001777, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 60.16 kB / 307.6 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07971/0.08085, allocations: 50.53 MB / 358.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007463/0.08835, allocations: 6.874 MB / 365 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.09213, allocations: 2.333 MB / 367.4 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005255/0.09267, allocations: 47.81 kB / 367.4 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000946/0.09365, allocations: 449 kB / 367.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.09501, allocations: 0.668 MB / 368.5 MB, free: 3.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.09548, allocations: 279.7 kB / 368.8 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.09781, allocations: 2.832 MB / 371.6 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1662/0.264, allocations: 2.567 MB / 374.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.2668, allocations: 1.319 MB / 375.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/0.2694, allocations: 1.534 MB / 377 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.2704, allocations: 348.6 kB / 377.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.2717, allocations: 441.4 kB / 377.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008881/0.2726, allocations: 0.8955 MB / 378.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.2743, allocations: 1.526 MB / 380.2 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005227/0.2795, allocations: 4.589 MB / 384.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2795, allocations: 1.281 kB / 384.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2796, allocations: 0 / 384.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001129/0.2797, allocations: 0 / 384.8 MB, free: 7.043 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.005955/0.2856, allocations: 2.975 MB / 387.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.2857, allocations: 10.12 kB / 387.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.287, allocations: 338.4 kB / 388.1 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.2903, allocations: 1.608 MB / 389.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.2905, allocations: 163.9 kB / 389.9 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006236/0.2911, allocations: 217.9 kB / 390.1 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005777/0.2969, allocations: 3.181 MB / 393.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/0.297, allocations: 2.625 kB / 393.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.2972, allocations: 92.16 kB / 393.4 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.2973, allocations: 108.9 kB / 393.5 MB, free: 2.184 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004236/0.3015, allocations: 2.73 MB / 396.2 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.3154, allocations: 8.875 MB / 405.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/0.3192, allocations: 3.383 MB / 408.5 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.3214, allocations: 1.328 MB / 409.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/0.3217, allocations: 130.4 kB / 409.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.3218, allocations: 47.88 kB / 410 MB, free: 4.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.817e-06/0.3218, allocations: 0 / 410 MB, free: 4.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01285/0.3347, allocations: 5.752 MB / 415.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.3348, allocations: 64.72 kB / 415.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.3383, allocations: 1.495 MB / 417.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002898/0.3386, allocations: 56.33 kB / 417.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007903/0.3394, allocations: 0.9409 MB / 418.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005776/0.34, allocations: 444.2 kB / 418.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005175/0.3405, allocations: 226.9 kB / 418.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3407, allocations: 353.9 kB / 419.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.342, allocations: 0.6896 MB / 420 MB, free: 10.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.3433, allocations: 0.8629 MB / 420.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/0.3459, allocations: 1.604 MB / 422.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.3459, allocations: 0 / 422.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004251/0.3502, allocations: 2.303 MB / 424.8 MB, free: 5.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.3502, allocations: 8 kB / 424.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/0.3502, allocations: 8.031 kB / 424.8 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/0.353, allocations: 0.8285 MB / 425.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008997/0.3539, allocations: 202.5 kB / 425.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.3678, allocations: 11.51 MB / 437.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.3694, allocations: 52.03 kB / 437.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002893/0.3697, allocations: 40 kB / 437.4 MB, free: 8.699 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.001897/0.3716, allocations: 0.824 MB / 438.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006251/0.3723, allocations: 160.8 kB / 438.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/0.3767, allocations: 2.275 MB / 440.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.3768, allocations: 12 kB / 440.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.3768, allocations: 4 kB / 440.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.3768, allocations: 3.984 kB / 440.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009831/0.3867, allocations: 4.749 MB / 445.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.3867, allocations: 0 / 445.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006979/0.3874, allocations: 155.9 kB / 445.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/0.3901, allocations: 0.8169 MB / 446.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.3903, allocations: 28 kB / 446.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.402, allocations: 11.4 MB / 457.8 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4021, allocations: 0 / 457.8 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.4072, allocations: 3.234 MB / 461.1 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009156/0.4081, allocations: 399.1 kB / 461.4 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003734/0.4085, allocations: 28 kB / 461.5 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009337/0.4094, allocations: 68.03 kB / 461.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/0.4097, allocations: 117.1 kB / 461.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.549e-05/0.4098, allocations: 35.94 kB / 461.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001723/0.4115, allocations: 1.064 MB / 462.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4116, allocations: 4 kB / 462.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00202/0.4136, allocations: 0.5117 MB / 463.3 MB, free: 14.26 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.0005164/0.4141, allocations: 206.6 kB / 463.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004865/0.419, allocations: 2.936 MB / 466.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.419, allocations: 0 / 466.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002293/0.4213, allocations: 1.623 MB / 468 MB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/0.4238, allocations: 0.5066 MB / 468.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0083/0.4321, allocations: 4.67 MB / 473.2 MB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/0.434, allocations: 1.995 MB / 475.2 MB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.4345, allocations: 103.4 kB / 475.3 MB, free: 2.129 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4346, allocations: 0 / 475.3 MB, free: 2.129 MB / 382.1 MB Notification: Performance of Templates: time 0.2217/0.6562, allocations: 75.7 MB / 0.5381 GB, free: 149 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