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.001043/0.001043, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 56.69 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09124, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007733/0.099, allocations: 6.876 MB / 365.8 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004227/0.1033, allocations: 2.333 MB / 368.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007076/0.104, allocations: 55.69 kB / 368.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.1051, allocations: 449 kB / 368.6 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.1067, allocations: 0.6603 MB / 369.3 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.1072, allocations: 283.6 kB / 369.5 MB, free: 2.652 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1633/0.2705, allocations: 2.838 MB / 372.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004044/0.2746, allocations: 2.569 MB / 374.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.277, allocations: 1.323 MB / 376.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.2796, allocations: 1.544 MB / 377.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008272/0.2804, allocations: 349.2 kB / 378.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.2815, allocations: 433.4 kB / 378.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007325/0.2822, allocations: 0.897 MB / 379.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001354/0.2836, allocations: 1.523 MB / 381 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004327/0.2879, allocations: 4.627 MB / 385.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.288, allocations: 0 / 385.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.288, allocations: 0 / 385.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.02e-05/0.2881, allocations: 0.9375 kB / 385.6 MB, free: 7.07 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.005179/0.2932, allocations: 2.981 MB / 388.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.2933, allocations: 9.719 kB / 388.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009707/0.2943, allocations: 333.8 kB / 388.9 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/0.297, allocations: 1.668 MB / 390.6 MB, free: 4.258 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2971, allocations: 162.2 kB / 390.8 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.2974, allocations: 216 kB / 391 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004296/0.3017, allocations: 3.179 MB / 394.2 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.3018, allocations: 3.688 kB / 394.2 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.302, allocations: 91.33 kB / 394.2 MB, free: 2.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.713e-05/0.3021, allocations: 112.8 kB / 394.4 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00339/0.3055, allocations: 2.731 MB / 397.1 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/0.3182, allocations: 8.758 MB / 405.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/0.3216, allocations: 3.383 MB / 409.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.3234, allocations: 1.333 MB / 410.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.3237, allocations: 126.4 kB / 410.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3237, allocations: 43.88 kB / 410.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 2.855e-06/0.3237, allocations: 0 / 410.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01027/0.334, allocations: 5.761 MB / 416.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.3341, allocations: 64.72 kB / 416.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.3361, allocations: 1.499 MB / 418.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.191e-05/0.3362, allocations: 49.7 kB / 418.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006188/0.3369, allocations: 0.937 MB / 419 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.3372, allocations: 449.2 kB / 419.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/0.3376, allocations: 214.9 kB / 419.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3377, allocations: 361.9 kB / 420 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009707/0.3387, allocations: 0.6896 MB / 420.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.3398, allocations: 0.8662 MB / 421.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.3418, allocations: 1.595 MB / 423.2 MB, free: 7.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3419, allocations: 3.75 kB / 423.2 MB, free: 7.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003682/0.3455, allocations: 2.315 MB / 425.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3456, allocations: 10.34 kB / 425.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3456, allocations: 4 kB / 425.5 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/0.3482, allocations: 0.8202 MB / 426.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.3489, allocations: 210.3 kB / 426.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.3604, allocations: 11.49 MB / 438 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.3614, allocations: 51.95 kB / 438.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.3615, allocations: 44 kB / 438.1 MB, free: 8.082 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.001237/0.3628, allocations: 0.8214 MB / 439 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.363, allocations: 162.1 kB / 439.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/0.3666, allocations: 2.27 MB / 441.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.3666, allocations: 12 kB / 441.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3667, allocations: 4 kB / 441.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3667, allocations: 7.969 kB / 441.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006995/0.3737, allocations: 4.724 MB / 446.1 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3737, allocations: 0 / 446.1 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/0.3743, allocations: 156.2 kB / 446.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/0.3768, allocations: 0.8127 MB / 447.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/0.3769, allocations: 27.98 kB / 447.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/0.3881, allocations: 11.38 MB / 458.5 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3881, allocations: 4.031 kB / 458.5 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004657/0.3928, allocations: 3.231 MB / 461.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009547/0.3937, allocations: 403.1 kB / 462.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.3939, allocations: 31.45 kB / 462.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/0.3947, allocations: 71.95 kB / 462.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/0.395, allocations: 113.1 kB / 462.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/0.3951, allocations: 39.94 kB / 462.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00147/0.3965, allocations: 1.064 MB / 463.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3966, allocations: 0 / 463.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001753/0.3983, allocations: 0.5117 MB / 464 MB, free: 13.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.0004308/0.3988, allocations: 206.4 kB / 464.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003436/0.4022, allocations: 2.402 MB / 466.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4022, allocations: 7.375 kB / 466.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002271/0.4045, allocations: 1.631 MB / 468.2 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.4067, allocations: 0.5061 MB / 468.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007511/0.4142, allocations: 4.62 MB / 473.3 MB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.416, allocations: 2.047 MB / 475.4 MB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009353/0.4169, allocations: 309.5 kB / 475.7 MB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.4172, allocations: 95.42 kB / 475.8 MB, free: 1.762 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4172, allocations: 0 / 475.8 MB, free: 1.762 MB / 382.1 MB Notification: Performance of Templates: time 0.0488/0.466, allocations: 32.52 MB / 0.4964 GB, free: 1.629 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 -s cvode -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