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.001526/0.001526, allocations: 115.2 kB / 21.18 MB, free: 0.5898 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.001667/0.001667, allocations: 213.5 kB / 24.47 MB, free: 3.996 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.438/1.438, allocations: 230.5 MB / 258.1 MB, free: 8.141 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.001819/0.001819, allocations: 67.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.218, allocations: 53.32 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008493/0.2265, allocations: 6.947 MB / 439 MB, free: 408 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003829/0.2303, allocations: 2.337 MB / 441.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004219/0.2307, allocations: 51.75 kB / 441.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009981/0.2317, allocations: 476.9 kB / 441.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.2331, allocations: 0.6837 MB / 442.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.2336, allocations: 271.6 kB / 442.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002884/0.2365, allocations: 2.844 MB / 445.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.2382, allocations: 1.371 MB / 447 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.2405, allocations: 1.335 MB / 448.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/0.2427, allocations: 1.565 MB / 449.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00046/0.2432, allocations: 355.9 kB / 450.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.2439, allocations: 439.9 kB / 450.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008166/0.2448, allocations: 0.9038 MB / 451.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001694/0.2465, allocations: 1.533 MB / 453.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004765/0.2512, allocations: 4.637 MB / 457.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2512, allocations: 0 / 457.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2512, allocations: 4 kB / 457.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.578e-05/0.2513, allocations: 0 / 457.8 MB, free: 13.51 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.005855/0.2572, allocations: 3.042 MB / 460.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2572, allocations: 8.031 kB / 460.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.2582, allocations: 355.1 kB / 461.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/0.2612, allocations: 1.675 MB / 462.8 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.2614, allocations: 160.4 kB / 463 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.2617, allocations: 216 kB / 463.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004996/0.2667, allocations: 3.182 MB / 466.4 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/0.2667, allocations: 0 / 466.4 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.267, allocations: 88 kB / 466.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.2671, allocations: 108.4 kB / 466.6 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004353/0.2714, allocations: 2.738 MB / 469.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01377/0.2852, allocations: 8.774 MB / 478.1 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.2888, allocations: 3.294 MB / 481.4 MB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.2907, allocations: 1.233 MB / 482.6 MB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.2909, allocations: 130.2 kB / 482.8 MB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.291, allocations: 47.88 kB / 482.8 MB, free: 3.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 2.715e-06/0.291, allocations: 0 / 482.8 MB, free: 3.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01068/0.3017, allocations: 5.762 MB / 488.6 MB, free: 13.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3017, allocations: 64.72 kB / 488.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.3038, allocations: 1.502 MB / 490.1 MB, free: 12.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.924e-05/0.3039, allocations: 45.7 kB / 490.2 MB, free: 12.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007546/0.3047, allocations: 0.9666 MB / 491.1 MB, free: 11.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000392/0.3051, allocations: 472 kB / 491.6 MB, free: 10.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/0.3054, allocations: 214.9 kB / 491.8 MB, free: 10.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3056, allocations: 361.9 kB / 492.2 MB, free: 10.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.3067, allocations: 0.6896 MB / 492.9 MB, free: 9.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.3079, allocations: 0.8707 MB / 493.7 MB, free: 8.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.3102, allocations: 1.601 MB / 495.3 MB, free: 6.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3102, allocations: 3.938 kB / 495.3 MB, free: 6.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003775/0.314, allocations: 2.295 MB / 497.6 MB, free: 4.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.314, allocations: 8.031 kB / 497.6 MB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.314, allocations: 8 kB / 497.6 MB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/0.3166, allocations: 0.8228 MB / 498.5 MB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/0.3174, allocations: 199.7 kB / 498.7 MB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.3303, allocations: 11.49 MB / 0.4982 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.3313, allocations: 56.02 kB / 0.4982 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/0.3314, allocations: 44 kB / 0.4983 GB, free: 7.398 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.001377/0.3328, allocations: 0.8245 MB / 0.4991 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.3331, allocations: 167 kB / 0.4993 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.337, allocations: 2.257 MB / 0.5015 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.337, allocations: 12 kB / 0.5015 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.3371, allocations: 7.984 kB / 0.5015 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.3371, allocations: 3.984 kB / 0.5015 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007898/0.345, allocations: 4.696 MB / 0.5061 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.345, allocations: 4 kB / 0.5061 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006413/0.3456, allocations: 159.9 kB / 0.5062 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/0.3481, allocations: 0.8038 MB / 0.507 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.97e-05/0.3481, allocations: 35.92 kB / 0.507 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/0.3603, allocations: 11.39 MB / 0.5182 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3603, allocations: 4.031 kB / 0.5182 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004872/0.3652, allocations: 3.221 MB / 0.5213 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008882/0.3661, allocations: 408 kB / 0.5217 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.3663, allocations: 31.98 kB / 0.5217 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007522/0.367, allocations: 63.95 kB / 0.5218 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.3673, allocations: 117.2 kB / 0.5219 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.678e-05/0.3674, allocations: 43.97 kB / 0.5219 GB, free: 14.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001475/0.3689, allocations: 1.06 MB / 0.523 GB, free: 13.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3689, allocations: 0 / 0.523 GB, free: 13.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001596/0.3705, allocations: 0.5156 MB / 0.5235 GB, free: 12.83 MB / 446.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.0004655/0.3709, allocations: 215.6 kB / 0.5237 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003542/0.3745, allocations: 2.346 MB / 0.526 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3745, allocations: 192 / 0.526 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.3767, allocations: 1.589 MB / 0.5275 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.3786, allocations: 0.5054 MB / 0.528 GB, free: 8.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00724/0.3858, allocations: 4.731 MB / 0.5326 GB, free: 3.301 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/0.3876, allocations: 1.991 MB / 0.5346 GB, free: 1.273 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.3879, allocations: 103.4 kB / 0.5347 GB, free: 1.172 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3879, allocations: 0 / 0.5347 GB, free: 1.172 MB / 446.1 MB Notification: Performance of Templates: time 0.2334/0.6213, allocations: 75.98 MB / 0.6089 GB, free: 35.6 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.667798670940101]