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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000839/0.000839, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00406/0.00406, allocations: 157.7 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8289/0.8289, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.861e-05, allocations: 2.281 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.004842/0.004861, allocations: 6.185 MB / 332 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.007998, allocations: 2.239 MB / 334.2 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000492/0.00849, allocations: 59.56 kB / 334.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007204/0.009211, allocations: 460.9 kB / 334.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.01023, allocations: 0.7413 MB / 335.5 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.01056, allocations: 283.6 kB / 335.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.01236, allocations: 2.975 MB / 338.7 MB, free: 2.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.0134, allocations: 1.336 MB / 340 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.015, allocations: 1.988 MB / 342 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.01605, allocations: 1.403 MB / 343.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004884/0.01654, allocations: 352 kB / 343.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.01695, allocations: 435.9 kB / 344.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004604/0.01741, allocations: 0.9388 MB / 345.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006481/0.01805, allocations: 1.068 MB / 346.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002593/0.02065, allocations: 4.733 MB / 350.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.02065, allocations: 0 / 350.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.02065, allocations: 0 / 350.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.898e-05/0.02068, allocations: 0 / 350.9 MB, free: 6.078 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.00299/0.02367, allocations: 2.952 MB / 353.9 MB, free: 3.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.0237, allocations: 8.031 kB / 353.9 MB, free: 3.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006378/0.02434, allocations: 351.1 kB / 354.3 MB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.02592, allocations: 1.615 MB / 355.9 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/0.026, allocations: 172.7 kB / 356 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.0262, allocations: 220.3 kB / 356.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.02942, allocations: 3.394 MB / 359.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.02945, allocations: 4 kB / 359.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.02958, allocations: 84 kB / 359.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-05/0.02966, allocations: 128.4 kB / 359.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.03231, allocations: 2.746 MB / 362.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007003/0.03931, allocations: 7.647 MB / 370.2 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.04125, allocations: 1.931 MB / 372.2 MB, free: 480 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.04237, allocations: 1.23 MB / 373.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.04251, allocations: 53.28 kB / 373.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.04253, allocations: 43.88 kB / 373.5 MB, free: 15.13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 2.966e-06/0.04254, allocations: 4 kB / 373.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.005731/0.04827, allocations: 5.294 MB / 378.8 MB, free: 9.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.04831, allocations: 68.66 kB / 378.9 MB, free: 9.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.0496, allocations: 1.278 MB / 380.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.04966, allocations: 53.7 kB / 380.2 MB, free: 8.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.05006, allocations: 0.9812 MB / 381.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.05027, allocations: 464 kB / 381.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.05047, allocations: 222.9 kB / 381.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.05056, allocations: 353.9 kB / 382.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/0.05119, allocations: 0.6974 MB / 382.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007098/0.0519, allocations: 0.8551 MB / 383.8 MB, free: 4.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.05334, allocations: 1.608 MB / 385.4 MB, free: 3.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.05335, allocations: 0 / 385.4 MB, free: 3.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002375/0.05572, allocations: 2.279 MB / 387.6 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.05574, allocations: 11.98 kB / 387.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.05575, allocations: 7.938 kB / 387.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.05703, allocations: 0.8111 MB / 388.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.05742, allocations: 207.7 kB / 388.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007084/0.0645, allocations: 10.86 MB / 399.5 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.06488, allocations: 51.92 kB / 399.6 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.06494, allocations: 44.55 kB / 399.6 MB, free: 4.371 MB / 362.7 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.0008391/0.06577, allocations: 0.8136 MB / 400.4 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.06592, allocations: 147.1 kB / 400.6 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.0683, allocations: 2.24 MB / 402.8 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.06831, allocations: 12 kB / 402.8 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.06831, allocations: 11.94 kB / 402.8 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.06832, allocations: 7.922 kB / 402.9 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003953/0.07227, allocations: 4.153 MB / 407 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.07228, allocations: 4 kB / 407 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.0726, allocations: 155.8 kB / 407.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.07379, allocations: 0.8116 MB / 408 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.07384, allocations: 35.92 kB / 408 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007104/0.08095, allocations: 10.76 MB / 418.8 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.08095, allocations: 3.938 kB / 418.8 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.08378, allocations: 3.196 MB / 422 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/0.08419, allocations: 319 kB / 422.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.08428, allocations: 28 kB / 422.3 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.08464, allocations: 67.94 kB / 422.4 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004349/0.08507, allocations: 121 kB / 422.5 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/0.08512, allocations: 36 kB / 422.5 MB, free: 12.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007894/0.08591, allocations: 0.9032 MB / 423.4 MB, free: 12 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.08591, allocations: 0 / 423.4 MB, free: 12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001097/0.08701, allocations: 0.5155 MB / 424 MB, free: 11.48 MB / 394.7 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.0003573/0.08737, allocations: 205.6 kB / 424.2 MB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.08943, allocations: 2.342 MB / 426.5 MB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.08944, allocations: 4 kB / 426.5 MB, free: 8.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.09069, allocations: 1.586 MB / 428.1 MB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/0.09159, allocations: 392.1 kB / 428.5 MB, free: 6.859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.09635, allocations: 4.593 MB / 433.1 MB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009321/0.09729, allocations: 1.426 MB / 434.5 MB, free: 0.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.09747, allocations: 88.48 kB / 434.6 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of SimCode: time 9.01e-07/0.09747, allocations: 0 / 434.6 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of Templates: time 0.1635/0.261, allocations: 75.22 MB / 0.4978 GB, free: 62.01 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.475048788823187]