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.000891/0.0008911, allocations: 101.7 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009139/0.000914, allocations: 194.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.7 MB / 246.4 MB, free: 9.789 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.000255, allocations: 8 kB / 307.1 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1034, allocations: 51.52 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006358/0.1098, allocations: 6.025 MB / 364.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.1132, allocations: 2.221 MB / 366.9 MB, free: 5.133 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004182/0.1136, allocations: 39.81 kB / 366.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007385/0.1144, allocations: 349.8 kB / 367.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.1155, allocations: 0.5867 MB / 367.8 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.1159, allocations: 171.8 kB / 368 MB, free: 3.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002439/0.1183, allocations: 2.934 MB / 370.9 MB, free: 1.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1879/0.3062, allocations: 1.694 MB / 372.6 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.3086, allocations: 0.9587 MB / 373.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003005/0.3116, allocations: 1.228 MB / 374.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005881/0.3122, allocations: 149 kB / 375 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009965/0.3132, allocations: 212.3 kB / 375.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.3142, allocations: 0.6547 MB / 375.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.3156, allocations: 0.5304 MB / 376.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.3207, allocations: 3.744 MB / 380.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3207, allocations: 4 kB / 380.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3207, allocations: 1.094 kB / 380.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001488/0.3209, allocations: 0 / 380.1 MB, free: 8.891 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.005993/0.3269, allocations: 2.552 MB / 382.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3269, allocations: 8.156 kB / 382.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.3282, allocations: 348.5 kB / 383 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.3306, allocations: 1.561 MB / 384.6 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.3307, allocations: 162.8 kB / 384.7 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003392/0.3311, allocations: 220.6 kB / 385 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005047/0.3361, allocations: 3.167 MB / 388.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.3362, allocations: 8.562 kB / 388.1 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.3364, allocations: 90.25 kB / 388.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.3365, allocations: 111 kB / 388.3 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004139/0.3406, allocations: 2.72 MB / 391 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/0.353, allocations: 8.938 MB / 400 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.3568, allocations: 3.392 MB / 403.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.3589, allocations: 1.345 MB / 404.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/0.3592, allocations: 122.4 kB / 404.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/0.3593, allocations: 51.34 kB / 404.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 2.966e-06/0.3593, allocations: 0 / 404.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.0113/0.3706, allocations: 5.784 MB / 410.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3707, allocations: 64.72 kB / 410.7 MB, free: 5.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.373, allocations: 1.487 MB / 412.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.3731, allocations: 55.67 kB / 412.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000701/0.3738, allocations: 0.9394 MB / 413.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.3742, allocations: 444.9 kB / 413.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.3743, allocations: 24 kB / 413.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3744, allocations: 361.9 kB / 414 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.3755, allocations: 0.6896 MB / 414.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.3766, allocations: 0.8629 MB / 415.6 MB, free: 284 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.3778, allocations: 0.8184 MB / 416.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3778, allocations: 8 kB / 416.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00365/0.3815, allocations: 2.298 MB / 418.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3815, allocations: 8 kB / 418.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.3815, allocations: 7.953 kB / 418.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/0.3842, allocations: 0.8239 MB / 419.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/0.385, allocations: 207.7 kB / 419.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.3964, allocations: 10.52 MB / 430.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.3978, allocations: 55.95 kB / 430.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.398, allocations: 46.36 kB / 430.4 MB, free: 0.9375 MB / 334.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 (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 initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001792/0.3998, allocations: 0.8211 MB / 431.2 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/0.4002, allocations: 162.3 kB / 431.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004125/0.4043, allocations: 2.273 MB / 433.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.4044, allocations: 16 kB / 433.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4044, allocations: 8 kB / 433.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.4044, allocations: 7.969 kB / 433.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00798/0.4124, allocations: 4.762 MB / 438.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4124, allocations: 0 / 438.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006626/0.4131, allocations: 159.8 kB / 438.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002672/0.4158, allocations: 0.8088 MB / 439.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.4159, allocations: 31.98 kB / 439.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/0.4276, allocations: 10.4 MB / 449.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4277, allocations: 2.406 kB / 449.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005587/0.4333, allocations: 3.239 MB / 453.1 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.4346, allocations: 407 kB / 453.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/0.4349, allocations: 28 kB / 453.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008283/0.4358, allocations: 75.94 kB / 453.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.4361, allocations: 117.1 kB / 453.7 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.4362, allocations: 32 kB / 453.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001813/0.438, allocations: 1.052 MB / 454.8 MB, free: 7.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.964e-06/0.438, allocations: 0 / 454.8 MB, free: 7.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002204/0.4402, allocations: 0.5156 MB / 455.3 MB, free: 7.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000469/0.4407, allocations: 164.9 kB / 455.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003803/0.4445, allocations: 2.392 MB / 457.8 MB, free: 4.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4445, allocations: 4 kB / 457.8 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.4469, allocations: 1.632 MB / 459.5 MB, free: 3.043 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.4495, allocations: 0.49 MB / 459.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009137/0.4587, allocations: 5.473 MB / 465.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/0.4607, allocations: 2.049 MB / 467.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001176/0.4619, allocations: 309.5 kB / 467.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.4622, allocations: 91.44 kB / 467.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4622, allocations: 0 / 467.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of Templates: time 0.05364/0.5158, allocations: 29.76 MB / 497.6 MB, free: 13.16 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