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.001034/0.001034, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009932/0.0009932, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.089/1.089, allocations: 177 MB / 204.8 MB, free: 5.574 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.863e-06/1.863e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.176e-05, allocations: 5.266 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005987/0.006008, allocations: 6.879 MB / 279.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003876/0.009885, allocations: 2.305 MB / 282.1 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005982/0.01048, allocations: 67.56 kB / 282.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008504/0.01133, allocations: 469.1 kB / 282.6 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.01257, allocations: 0.7336 MB / 283.4 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.013, allocations: 283.6 kB / 283.6 MB, free: 6.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.01492, allocations: 2.975 MB / 286.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.0161, allocations: 1.336 MB / 287.9 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.01827, allocations: 2.038 MB / 290 MB, free: 272 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1304/0.1487, allocations: 1.514 MB / 291.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.1497, allocations: 349.2 kB / 291.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.1509, allocations: 435.5 kB / 292.3 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008672/0.1518, allocations: 0.9566 MB / 293.2 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00196/0.1537, allocations: 1.084 MB / 294.3 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003384/0.1571, allocations: 2.576 MB / 296.9 MB, free: 16.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1571, allocations: 0 / 296.9 MB, free: 16.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1571, allocations: 1.094 kB / 296.9 MB, free: 16.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.1572, allocations: 0 / 296.9 MB, free: 16.82 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.004825/0.162, allocations: 3.179 MB / 300.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1621, allocations: 12.7 kB / 300.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.1631, allocations: 0.5238 MB / 300.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.165, allocations: 1.498 MB / 302.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.469e-05/0.1651, allocations: 166.9 kB / 302.3 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/0.1653, allocations: 218.8 kB / 302.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/0.1681, allocations: 1.911 MB / 304.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.1682, allocations: 7.75 kB / 304.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.1683, allocations: 92.22 kB / 304.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.364e-05/0.1684, allocations: 119.9 kB / 304.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.1699, allocations: 0.8076 MB / 305.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006271/0.1762, allocations: 7.029 MB / 312.4 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.1773, allocations: 1.124 MB / 313.6 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/0.178, allocations: 0.6419 MB / 314.2 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.1782, allocations: 60.12 kB / 314.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1782, allocations: 46.7 kB / 314.3 MB, free: 7.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.196e-06/0.1782, allocations: 0 / 314.3 MB, free: 7.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004234/0.1825, allocations: 3.071 MB / 317.4 MB, free: 4.203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.1825, allocations: 64.72 kB / 317.4 MB, free: 4.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008531/0.1833, allocations: 1.091 MB / 318.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.1834, allocations: 45.7 kB / 318.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.1838, allocations: 1.072 MB / 319.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.184, allocations: 475 kB / 320.1 MB, free: 1.434 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.1842, allocations: 240.5 kB / 320.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.1843, allocations: 0.5433 MB / 320.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.1846, allocations: 194.5 kB / 321.1 MB, free: 460 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.185, allocations: 436.2 kB / 321.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008291/0.1858, allocations: 0.6915 MB / 322.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1858, allocations: 4 kB / 322.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001596/0.1874, allocations: 1.158 MB / 323.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1874, allocations: 8.625 kB / 323.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1874, allocations: 10.98 kB / 323.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.1888, allocations: 0.5609 MB / 323.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.1892, allocations: 202.9 kB / 324.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006487/0.1957, allocations: 10.29 MB / 334.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.1961, allocations: 43.97 kB / 334.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.1961, allocations: 48.03 kB / 334.5 MB, free: 2.512 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.0004254/0.1966, allocations: 214.8 kB / 334.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.1968, allocations: 211 kB / 334.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.1984, allocations: 1.174 MB / 336.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.1984, allocations: 16 kB / 336.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.1984, allocations: 4 kB / 336.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.1984, allocations: 11.91 kB / 336.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/0.2021, allocations: 3.078 MB / 339.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.2021, allocations: 4.188 kB / 339.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.2025, allocations: 154.7 kB / 339.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.2037, allocations: 0.558 MB / 339.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.2038, allocations: 39.92 kB / 340 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006592/0.2104, allocations: 10.21 MB / 350.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2104, allocations: 3.656 kB / 350.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.2124, allocations: 1.561 MB / 351.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/0.2129, allocations: 287 kB / 352 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.213, allocations: 28 kB / 352 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.2133, allocations: 67.94 kB / 352.1 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.2135, allocations: 132.5 kB / 352.2 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.2136, allocations: 36 kB / 352.3 MB, free: 284 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007065/0.2143, allocations: 0.6533 MB / 352.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2143, allocations: 0 / 352.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00138/0.2156, allocations: 0.5156 MB / 353.4 MB, free: 15.1 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.000401/0.216, allocations: 208.7 kB / 353.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.2178, allocations: 1.717 MB / 355.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2178, allocations: 4 kB / 355.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.219, allocations: 1.406 MB / 356.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.22, allocations: 417.6 kB / 357.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/0.2254, allocations: 3.963 MB / 361.1 MB, free: 7.273 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.226, allocations: 0.7053 MB / 361.8 MB, free: 6.535 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004202/0.2264, allocations: 223.8 kB / 362.1 MB, free: 6.312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.2266, allocations: 92.48 kB / 362.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2266, allocations: 0 / 362.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of Templates: time 0.03432/0.2609, allocations: 29.2 MB / 391.4 MB, free: 9.445 MB / 346.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.802241900935769]