Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 64.77 kB / 379.1 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2605, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01003/0.2705, allocations: 6.944 MB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005271/0.2758, allocations: 2.352 MB / 441.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.277, allocations: 63.56 kB / 441.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.2782, allocations: 468.9 kB / 442.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.2801, allocations: 0.6837 MB / 442.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.2807, allocations: 287.5 kB / 443.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003594/0.2843, allocations: 2.856 MB / 446.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.2863, allocations: 1.371 MB / 447.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.2892, allocations: 1.348 MB / 448.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/0.292, allocations: 1.568 MB / 450.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005433/0.2925, allocations: 348 kB / 450.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.2936, allocations: 451.8 kB / 451.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000957/0.2945, allocations: 0.896 MB / 452 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002498/0.297, allocations: 1.536 MB / 453.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005329/0.3024, allocations: 4.637 MB / 458.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3024, allocations: 0 / 458.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3024, allocations: 0 / 458.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001061/0.3025, allocations: 0 / 458.2 MB, free: 13.04 MB / 366.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.006608/0.3091, allocations: 2.963 MB / 461.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3091, allocations: 12.03 kB / 461.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.3102, allocations: 355.1 kB / 461.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/0.3133, allocations: 1.615 MB / 463.1 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.3134, allocations: 164.4 kB / 463.3 MB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.3138, allocations: 212 kB / 463.5 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005879/0.3197, allocations: 3.186 MB / 466.7 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/0.3197, allocations: 0 / 466.7 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.3199, allocations: 91.98 kB / 466.8 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/0.3201, allocations: 116.4 kB / 466.9 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005673/0.3257, allocations: 2.73 MB / 469.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.016/0.3417, allocations: 8.691 MB / 478.3 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/0.3448, allocations: 1.946 MB / 480.3 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.3468, allocations: 1.234 MB / 481.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.347, allocations: 49.2 kB / 481.5 MB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/0.3471, allocations: 51.88 kB / 481.6 MB, free: 5.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.085e-06/0.3471, allocations: 0 / 481.6 MB, free: 5.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.0117/0.3588, allocations: 5.31 MB / 486.9 MB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.3588, allocations: 64.72 kB / 487 MB, free: 15.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.3611, allocations: 1.499 MB / 488.5 MB, free: 14.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.3613, allocations: 49.7 kB / 488.5 MB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008368/0.3621, allocations: 0.9705 MB / 489.5 MB, free: 13.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/0.3625, allocations: 464 kB / 489.9 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003592/0.3629, allocations: 222.9 kB / 490.2 MB, free: 12.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3631, allocations: 353.9 kB / 490.5 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.3642, allocations: 0.6896 MB / 491.2 MB, free: 11.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.3654, allocations: 0.8668 MB / 492.1 MB, free: 10.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.3678, allocations: 1.601 MB / 493.7 MB, free: 9.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3678, allocations: 3.938 kB / 493.7 MB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004061/0.3718, allocations: 2.295 MB / 496 MB, free: 6.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.3719, allocations: 8 kB / 496 MB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.3719, allocations: 4 kB / 496 MB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002882/0.3748, allocations: 0.8228 MB / 496.8 MB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008388/0.3756, allocations: 203.7 kB / 497 MB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/0.3901, allocations: 11.08 MB / 0.4962 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.3913, allocations: 52.03 kB / 0.4962 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.3915, allocations: 40 kB / 0.4962 GB, free: 10.04 MB / 414.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.001893/0.3934, allocations: 0.8213 MB / 0.497 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005255/0.394, allocations: 171 kB / 0.4972 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/0.3985, allocations: 2.253 MB / 0.4994 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.3985, allocations: 19.94 kB / 0.4994 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.3985, allocations: 8.062 kB / 0.4994 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3985, allocations: 3.984 kB / 0.4994 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009349/0.4079, allocations: 4.679 MB / 0.504 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.4079, allocations: 4 kB / 0.504 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/0.4085, allocations: 155.9 kB / 0.5042 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002914/0.4115, allocations: 0.8158 MB / 0.505 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.4116, allocations: 31.98 kB / 0.505 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/0.4264, allocations: 10.96 MB / 0.5157 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.4264, allocations: 3.938 kB / 0.5157 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006609/0.433, allocations: 3.224 MB / 0.5188 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/0.4343, allocations: 342.9 kB / 0.5192 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005611/0.4349, allocations: 28 kB / 0.5192 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.4361, allocations: 67.94 kB / 0.5193 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004219/0.4366, allocations: 125 kB / 0.5194 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.4367, allocations: 32 kB / 0.5194 GB, free: 1.668 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002314/0.439, allocations: 1.068 MB / 0.5205 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.439, allocations: 4 kB / 0.5205 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00242/0.4414, allocations: 0.5078 MB / 0.521 GB, free: 88 kB / 430.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.0006333/0.4421, allocations: 216 kB / 0.5212 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004219/0.4463, allocations: 2.35 MB / 0.5235 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4463, allocations: 4.062 kB / 0.5235 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002739/0.449, allocations: 1.585 MB / 0.525 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/0.4521, allocations: 0.5062 MB / 0.5255 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.4625, allocations: 4.738 MB / 0.5301 GB, free: 6.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002898/0.4654, allocations: 2.047 MB / 0.5321 GB, free: 4.469 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001259/0.4667, allocations: 309.5 kB / 0.5324 GB, free: 4.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/0.4671, allocations: 99.42 kB / 0.5325 GB, free: 4.062 MB / 446.1 MB Notification: Performance of SimCode: time 2.174e-06/0.4671, allocations: 0 / 0.5325 GB, free: 4.062 MB / 446.1 MB Notification: Performance of Templates: time 0.3073/0.7745, allocations: 34.23 MB / 0.5659 GB, free: 80 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.988962442614138]