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.001029/0.001029, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001368/0.001368, allocations: 164.2 kB / 24.91 MB, free: 8.758 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.9439/0.9439, allocations: 177 MB / 205.2 MB, free: 5.047 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.[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.533e-06/1.533e-06, allocations: 0 / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.538e-05, allocations: 6.25 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008255/0.008281, allocations: 6.706 MB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004169/0.01245, allocations: 2.382 MB / 282.5 MB, free: 7.934 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000614/0.01306, allocations: 63.56 kB / 282.5 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008278/0.01389, allocations: 461.2 kB / 283 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.01538, allocations: 0.7413 MB / 283.7 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.01593, allocations: 279.7 kB / 284 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0029/0.01883, allocations: 2.987 MB / 287 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.02041, allocations: 1.371 MB / 288.4 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1123/0.1327, allocations: 2.038 MB / 290.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.1355, allocations: 1.516 MB / 291.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009193/0.1364, allocations: 350.2 kB / 292.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.1375, allocations: 440.3 kB / 292.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007389/0.1382, allocations: 0.9515 MB / 293.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.1398, allocations: 1.086 MB / 294.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.1428, allocations: 2.575 MB / 297.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1428, allocations: 0.5312 kB / 297.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1428, allocations: 0 / 297.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.471e-05/0.1428, allocations: 0.875 kB / 297.3 MB, free: 15.54 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.004141/0.147, allocations: 2.794 MB / 300.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.147, allocations: 13.36 kB / 300.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008974/0.1479, allocations: 450.3 kB / 300.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.1493, allocations: 0.9992 MB / 301.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/0.1494, allocations: 160.4 kB / 301.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/0.1497, allocations: 227 kB / 301.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.1517, allocations: 1.801 MB / 303.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.1517, allocations: 6.125 kB / 303.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.1519, allocations: 90.28 kB / 303.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.75e-05/0.152, allocations: 122 kB / 303.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/0.1529, allocations: 0.6489 MB / 304.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005476/0.1583, allocations: 5.029 MB / 309.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008591/0.1592, allocations: 0.9722 MB / 310.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/0.1597, allocations: 0.5264 MB / 311.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.1598, allocations: 47.33 kB / 311.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1599, allocations: 47.28 kB / 311.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.717e-06/0.1599, allocations: 0 / 311.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003579/0.1634, allocations: 2.22 MB / 313.4 MB, free: 7.965 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.1635, allocations: 68.72 kB / 313.5 MB, free: 7.887 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006361/0.1641, allocations: 0.8435 MB / 314.3 MB, free: 7.184 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/0.1642, allocations: 49.7 kB / 314.4 MB, free: 7.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.1643, allocations: 0.8174 MB / 315.2 MB, free: 6.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.1645, allocations: 464.5 kB / 315.7 MB, free: 5.922 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.1647, allocations: 208.1 kB / 315.9 MB, free: 5.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.1647, allocations: 356 kB / 316.2 MB, free: 5.406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.1649, allocations: 157.4 kB / 316.4 MB, free: 5.254 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.1651, allocations: 298.4 kB / 316.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.1655, allocations: 0.5631 MB / 317.2 MB, free: 4.367 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1655, allocations: 0 / 317.2 MB, free: 4.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0009326/0.1665, allocations: 0.8576 MB / 318.1 MB, free: 3.535 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1665, allocations: 11.94 kB / 318.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1665, allocations: 0 / 318.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.1676, allocations: 0.5074 MB / 318.6 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.1679, allocations: 197.7 kB / 318.8 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004355/0.1723, allocations: 7.393 MB / 326.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/0.173, allocations: 32 kB / 326.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/0.173, allocations: 32 kB / 326.2 MB, free: 11.17 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.0006893/0.1737, allocations: 179.3 kB / 326.4 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.1739, allocations: 143.9 kB / 326.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.175, allocations: 0.9053 MB / 327.5 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.1751, allocations: 12 kB / 327.5 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1751, allocations: 4 kB / 327.5 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.1751, allocations: 11.91 kB / 327.5 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.1781, allocations: 2.357 MB / 329.9 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1781, allocations: 4 kB / 329.9 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.1784, allocations: 146.6 kB / 330 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.1795, allocations: 0.5112 MB / 330.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.924e-05/0.1796, allocations: 27.94 kB / 330.5 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004702/0.1843, allocations: 7.447 MB / 338 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1843, allocations: 3.938 kB / 338 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.1858, allocations: 1.196 MB / 339.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/0.1862, allocations: 175.1 kB / 339.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.1863, allocations: 31.98 kB / 339.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.1867, allocations: 51.98 kB / 339.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.1869, allocations: 116.5 kB / 339.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.1869, allocations: 24 kB / 339.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004312/0.1874, allocations: 437.8 kB / 340 MB, free: 13.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1874, allocations: 0 / 340 MB, free: 13.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001564/0.1889, allocations: 0.5155 MB / 340.5 MB, free: 13.02 MB / 298.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.0004211/0.1893, allocations: 190.8 kB / 340.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.1907, allocations: 1.332 MB / 342 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/0.1907, allocations: 19.56 kB / 342.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008837/0.1916, allocations: 1.096 MB / 343.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009195/0.1925, allocations: 415.7 kB / 343.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/0.1973, allocations: 3.84 MB / 347.4 MB, free: 6.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006422/0.198, allocations: 0.5786 MB / 348 MB, free: 5.516 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.1984, allocations: 148 kB / 348.1 MB, free: 5.367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006016/0.199, allocations: 399.1 kB / 348.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.199, allocations: 0 / 348.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of Templates: time 0.03586/0.2349, allocations: 30.88 MB / 379.4 MB, free: 6.566 MB / 330.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 -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.3570611416362226]