Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 167.4 kB / 24.99 MB, free: 8.25 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9224/0.9224, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_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.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.564e-05, allocations: 2.312 kB / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005764/0.005789, allocations: 6.823 MB / 279.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.009011, allocations: 2.29 MB / 282.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004991/0.00951, allocations: 63.56 kB / 282.2 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008098/0.01032, allocations: 461.2 kB / 282.7 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.01157, allocations: 0.718 MB / 283.4 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.01201, allocations: 283.6 kB / 283.7 MB, free: 7.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.014, allocations: 2.944 MB / 286.6 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.0152, allocations: 1.336 MB / 288 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.01716, allocations: 2.018 MB / 290 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1534/0.1705, allocations: 1.506 MB / 291.5 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.1716, allocations: 350.8 kB / 291.8 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.1729, allocations: 436.5 kB / 292.3 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009038/0.1738, allocations: 0.9428 MB / 293.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001952/0.1757, allocations: 1.077 MB / 294.3 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003501/0.1792, allocations: 2.568 MB / 296.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1792, allocations: 0 / 296.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1792, allocations: 0 / 296.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001185/0.1793, allocations: 0.8438 kB / 296.9 MB, free: 16.52 MB / 266.7 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.005258/0.1846, allocations: 3.162 MB / 300 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1846, allocations: 10.25 kB / 300 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.1857, allocations: 0.5191 MB / 300.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.1877, allocations: 1.497 MB / 302 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/0.1878, allocations: 165.3 kB / 302.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/0.188, allocations: 220.9 kB / 302.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/0.1907, allocations: 1.906 MB / 304.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.1907, allocations: 5.562 kB / 304.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.1909, allocations: 90.41 kB / 304.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.261e-05/0.191, allocations: 112 kB / 304.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.1924, allocations: 0.798 MB / 305.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006306/0.1987, allocations: 6.974 MB / 312.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.1999, allocations: 1.126 MB / 313.4 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007224/0.2006, allocations: 0.6443 MB / 314.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.2008, allocations: 53.28 kB / 314.1 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.2008, allocations: 50.7 kB / 314.2 MB, free: 7.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.116e-06/0.2008, allocations: 2.734 kB / 314.2 MB, free: 7.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004607/0.2054, allocations: 3.067 MB / 317.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.2054, allocations: 64.72 kB / 317.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/0.2063, allocations: 1.095 MB / 318.4 MB, free: 3.383 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.2064, allocations: 45.7 kB / 318.4 MB, free: 3.332 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.2067, allocations: 1.061 MB / 319.5 MB, free: 2.262 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.2069, allocations: 478.2 kB / 320 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.2071, allocations: 240.5 kB / 320.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.2072, allocations: 0.5472 MB / 320.8 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.2075, allocations: 190.5 kB / 320.9 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.2079, allocations: 436.4 kB / 321.4 MB, free: 332 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.2087, allocations: 0.6822 MB / 322 MB, free: 15.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2087, allocations: 4 kB / 322 MB, free: 15.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00172/0.2104, allocations: 1.166 MB / 323.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2105, allocations: 8 kB / 323.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.2105, allocations: 11.97 kB / 323.2 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.2119, allocations: 0.5608 MB / 323.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.2124, allocations: 198.4 kB / 324 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006425/0.2188, allocations: 10.29 MB / 334.3 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007624/0.2195, allocations: 55.89 kB / 334.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.2196, allocations: 44.03 kB / 334.4 MB, free: 2.879 MB / 282.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.00064/0.2202, allocations: 215.1 kB / 334.6 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.2205, allocations: 207 kB / 334.8 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.2221, allocations: 1.18 MB / 336 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.2221, allocations: 16 kB / 336 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2221, allocations: 4 kB / 336 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.2222, allocations: 7.969 kB / 336 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/0.2265, allocations: 3.083 MB / 339.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.2265, allocations: 4 kB / 339.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.227, allocations: 151 kB / 339.2 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.2286, allocations: 0.5529 MB / 339.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.437e-05/0.2287, allocations: 35.98 kB / 339.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007397/0.2361, allocations: 10.21 MB / 350 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2361, allocations: 0 / 350 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.2388, allocations: 1.563 MB / 351.6 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005478/0.2394, allocations: 290.9 kB / 351.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.2395, allocations: 31.98 kB / 351.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/0.24, allocations: 63.95 kB / 352 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/0.2403, allocations: 132.5 kB / 352.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/0.2404, allocations: 35.94 kB / 352.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008508/0.2412, allocations: 0.6533 MB / 352.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2412, allocations: 0 / 352.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00173/0.2429, allocations: 0.5155 MB / 353.3 MB, free: 15.46 MB / 314.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.0004577/0.2434, allocations: 210.8 kB / 353.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002197/0.2456, allocations: 1.717 MB / 355.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2456, allocations: 0 / 355.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.2471, allocations: 1.409 MB / 356.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.2484, allocations: 416.9 kB / 357 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.2545, allocations: 3.939 MB / 361 MB, free: 7.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/0.2552, allocations: 0.7053 MB / 361.7 MB, free: 6.922 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000533/0.2557, allocations: 219.8 kB / 361.9 MB, free: 6.703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.2559, allocations: 88.48 kB / 362 MB, free: 6.617 MB / 314.7 MB Notification: Performance of SimCode: time 1.372e-06/0.2559, allocations: 0 / 362 MB, free: 6.617 MB / 314.7 MB Notification: Performance of Templates: time 0.03937/0.2953, allocations: 29.22 MB / 391.2 MB, free: 9.852 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6081498661078513]