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.008163/0.008163, allocations: 105.9 kB / 21.98 MB, free: 5.227 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.002137/0.002137, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.49/1.49, allocations: 230.6 MB / 259 MB, free: 8.031 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.001995/0.001995, allocations: 67.89 kB / 379.8 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2361, allocations: 53.36 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008789/0.2448, allocations: 6.949 MB / 440.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004498/0.2493, allocations: 2.356 MB / 442.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007518/0.2501, allocations: 59.56 kB / 442.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.2512, allocations: 464.9 kB / 443 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.2531, allocations: 0.6954 MB / 443.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.2537, allocations: 287.6 kB / 444 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003428/0.2571, allocations: 2.848 MB / 446.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.259, allocations: 1.364 MB / 448.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/0.2617, allocations: 1.354 MB / 449.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/0.2642, allocations: 1.572 MB / 451.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005264/0.2647, allocations: 352 kB / 451.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000943/0.2657, allocations: 443.8 kB / 451.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008856/0.2666, allocations: 0.9038 MB / 452.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.2684, allocations: 1.525 MB / 454.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005136/0.2735, allocations: 4.642 MB / 459 MB, free: 13.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.2735, allocations: 4 kB / 459 MB, free: 13.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2735, allocations: 4 kB / 459 MB, free: 13.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.625e-05/0.2736, allocations: 0 / 459 MB, free: 13.03 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.005951/0.2796, allocations: 2.963 MB / 461.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2796, allocations: 12.03 kB / 461.9 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.2807, allocations: 347.1 kB / 462.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.2837, allocations: 1.619 MB / 463.9 MB, free: 8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.2839, allocations: 168.3 kB / 464.1 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003409/0.2842, allocations: 216 kB / 464.3 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005787/0.29, allocations: 3.182 MB / 467.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.29, allocations: 0 / 467.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/0.2902, allocations: 92 kB / 467.5 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.2903, allocations: 108.4 kB / 467.6 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/0.2951, allocations: 2.734 MB / 470.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01448/0.3095, allocations: 8.691 MB / 479.1 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.3125, allocations: 1.942 MB / 481 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.3146, allocations: 1.23 MB / 482.2 MB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.3148, allocations: 57.2 kB / 482.3 MB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.3148, allocations: 43.88 kB / 482.3 MB, free: 5.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.466e-06/0.3148, allocations: 3.938 kB / 482.3 MB, free: 5.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01105/0.3259, allocations: 5.318 MB / 487.7 MB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.3259, allocations: 64.72 kB / 487.7 MB, free: 15.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.3282, allocations: 1.495 MB / 489.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.3283, allocations: 49.7 kB / 489.3 MB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008227/0.3292, allocations: 0.9666 MB / 490.2 MB, free: 13.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/0.3296, allocations: 464 kB / 490.7 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.33, allocations: 222.9 kB / 490.9 MB, free: 12.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.3302, allocations: 357.9 kB / 491.3 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.3313, allocations: 0.6896 MB / 491.9 MB, free: 11.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.3326, allocations: 0.8629 MB / 492.8 MB, free: 10.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.335, allocations: 1.601 MB / 494.4 MB, free: 9.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.335, allocations: 3.938 kB / 494.4 MB, free: 9.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004135/0.3391, allocations: 2.303 MB / 496.7 MB, free: 6.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3392, allocations: 8 kB / 496.7 MB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.3392, allocations: 4 kB / 496.7 MB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/0.342, allocations: 0.815 MB / 497.5 MB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008612/0.3428, allocations: 207.7 kB / 497.7 MB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/0.3563, allocations: 11.07 MB / 0.4969 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.3573, allocations: 51.95 kB / 0.4969 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.3574, allocations: 44.05 kB / 0.497 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.001369/0.3588, allocations: 0.8213 MB / 0.4978 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.3591, allocations: 174.9 kB / 0.498 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004084/0.3632, allocations: 2.257 MB / 0.5002 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.3632, allocations: 12 kB / 0.5002 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3632, allocations: 8 kB / 0.5002 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.3632, allocations: 7.969 kB / 0.5002 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008081/0.3713, allocations: 4.679 MB / 0.5048 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3713, allocations: 480 / 0.5048 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006762/0.372, allocations: 155.8 kB / 0.5049 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002632/0.3746, allocations: 0.8194 MB / 0.5057 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.805e-05/0.3747, allocations: 28 kB / 0.5057 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/0.3877, allocations: 10.96 MB / 0.5164 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3877, allocations: 3.938 kB / 0.5164 GB, free: 5.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005392/0.3931, allocations: 3.221 MB / 0.5196 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009695/0.394, allocations: 342.9 kB / 0.5199 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.3943, allocations: 35.98 kB / 0.5199 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007972/0.3951, allocations: 63.95 kB / 0.52 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003119/0.3954, allocations: 125 kB / 0.5201 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-05/0.3955, allocations: 32 kB / 0.5202 GB, free: 1.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001667/0.3971, allocations: 1.064 MB / 0.5212 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3971, allocations: 0 / 0.5212 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001706/0.3988, allocations: 0.5195 MB / 0.5217 GB, free: 80 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.0005408/0.3994, allocations: 209.3 kB / 0.5219 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003892/0.4033, allocations: 2.346 MB / 0.5242 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4033, allocations: 0.875 kB / 0.5242 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.4058, allocations: 1.593 MB / 0.5257 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.002233/0.408, allocations: 0.5096 MB / 0.5262 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008711/0.4167, allocations: 4.724 MB / 0.5309 GB, free: 6.559 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/0.4186, allocations: 1.987 MB / 0.5328 GB, free: 4.535 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004396/0.419, allocations: 95.42 kB / 0.5329 GB, free: 4.441 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.419, allocations: 8 kB / 0.5329 GB, free: 4.434 MB / 446.1 MB Notification: Performance of Templates: time 0.255/0.674, allocations: 75.99 MB / 0.6071 GB, free: 37.3 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/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: 13.63633037195541]