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.0007294/0.0007294, allocations: 80.11 kB / 9.937 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009626/0.001692, allocations: 445.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007046/0.0007046, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009123/0.001617, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9814/0.9814, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08521/1.067, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.215e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006692/0.006714, allocations: 6.786 MB / 251.8 MB, free: 6.828 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.01047, allocations: 2.413 MB / 254.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007431/0.01121, allocations: 59.56 kB / 254.3 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008857/0.0121, allocations: 464.9 kB / 254.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.01365, allocations: 0.7452 MB / 255.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.01418, allocations: 287.5 kB / 255.8 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00252/0.0167, allocations: 2.999 MB / 258.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.01801, allocations: 1.364 MB / 260.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.02113, allocations: 2.2 MB / 262.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.02299, allocations: 1.524 MB / 263.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006316/0.02362, allocations: 352 kB / 264.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008357/0.02446, allocations: 443.8 kB / 264.6 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005711/0.02503, allocations: 0.7716 MB / 265.4 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.02608, allocations: 0.8931 MB / 266.3 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.02825, allocations: 2.419 MB / 268.7 MB, free: 5.812 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-05/0.02827, allocations: 0 / 268.7 MB, free: 5.812 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.02827, allocations: 4 kB / 268.7 MB, free: 5.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.746e-05/0.02837, allocations: 0 / 268.7 MB, free: 5.809 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: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.004033/0.0324, allocations: 3.34 MB / 272 MB, free: 2.426 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.03244, allocations: 12.62 kB / 272.1 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007514/0.03319, allocations: 0.5016 MB / 272.6 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.03448, allocations: 1.006 MB / 273.6 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.03456, allocations: 164.8 kB / 273.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.03476, allocations: 220.3 kB / 273.9 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1023/0.1371, allocations: 1.799 MB / 275.7 MB, free: 20.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.1371, allocations: 0 / 275.7 MB, free: 20.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.1372, allocations: 93.8 kB / 275.8 MB, free: 20.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.1373, allocations: 120.1 kB / 275.9 MB, free: 20.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.1385, allocations: 0.6458 MB / 276.6 MB, free: 20.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006108/0.1446, allocations: 5.051 MB / 281.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009586/0.1455, allocations: 0.9919 MB / 282.6 MB, free: 18.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.1461, allocations: 0.5164 MB / 283.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.1462, allocations: 54.48 kB / 283.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1463, allocations: 45.69 kB / 283.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.585e-06/0.1463, allocations: 1.469 kB / 283.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003697/0.15, allocations: 2.221 MB / 285.5 MB, free: 17.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.15, allocations: 66.34 kB / 285.5 MB, free: 17.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006435/0.1506, allocations: 0.8432 MB / 286.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.1507, allocations: 50.92 kB / 286.4 MB, free: 17.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.1509, allocations: 0.8213 MB / 287.3 MB, free: 16.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.1511, allocations: 462.2 kB / 287.7 MB, free: 16.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.1512, allocations: 214 kB / 287.9 MB, free: 16.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.1513, allocations: 360.5 kB / 288.3 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.1515, allocations: 153.6 kB / 288.4 MB, free: 16.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.1517, allocations: 295.3 kB / 288.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.1521, allocations: 0.5663 MB / 289.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1521, allocations: 2.188 kB / 289.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0009307/0.1531, allocations: 0.857 MB / 290.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1531, allocations: 7 kB / 290.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1531, allocations: 3.5 kB / 290.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.1541, allocations: 0.5086 MB / 290.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.1546, allocations: 239.4 kB / 290.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.1583, allocations: 7.412 MB / 298.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.1586, allocations: 32 kB / 298.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.1587, allocations: 35.98 kB / 298.4 MB, free: 8.828 MB / 266.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.0002902/0.159, allocations: 191 kB / 298.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.1591, allocations: 143.9 kB / 298.7 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009041/0.16, allocations: 0.8805 MB / 299.6 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.16, allocations: 19.98 kB / 299.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.16, allocations: 4 kB / 299.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.16, allocations: 3.984 kB / 299.6 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.1623, allocations: 2.376 MB / 302 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1623, allocations: 4.125 kB / 302 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.1626, allocations: 187.8 kB / 302.2 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.1629, allocations: 175 kB / 302.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009201/0.1638, allocations: 0.5173 MB / 302.8 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.1638, allocations: 32 kB / 302.9 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003949/0.1678, allocations: 7.47 MB / 310.3 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1678, allocations: 0 / 310.3 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.169, allocations: 1.198 MB / 311.5 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.1691, allocations: 28 kB / 311.6 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.1694, allocations: 51.97 kB / 311.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.1695, allocations: 113 kB / 311.7 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.1696, allocations: 31.97 kB / 311.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003179/0.1699, allocations: 435.7 kB / 312.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1699, allocations: 0 / 312.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009896/0.1709, allocations: 0.5117 MB / 312.7 MB, free: 10.38 MB / 282.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.0003794/0.1713, allocations: 198 kB / 312.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.1725, allocations: 1.331 MB / 314.2 MB, free: 8.809 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.513e-05/0.1725, allocations: 34.81 kB / 314.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008579/0.1734, allocations: 1.102 MB / 315.4 MB, free: 7.621 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.1743, allocations: 0.5315 MB / 315.9 MB, free: 7.094 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.1876, allocations: 4.16 MB / 320.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.1881, allocations: 0.5993 MB / 320.7 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003887/0.1885, allocations: 156 kB / 320.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006157/0.1891, allocations: 395.1 kB / 321.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1891, allocations: 0 / 321.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of Templates: time 0.03911/0.2282, allocations: 32.41 MB / 353.6 MB, free: 1.723 MB / 314.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] 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","",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.3086841963231564]