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.0009686/0.0009686, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.00102/0.00102, allocations: 162.9 kB / 25.61 MB, free: 8.922 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.93/0.93, allocations: 177 MB / 205.9 MB, free: 4.434 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.182e-06/1.182e-06, allocations: 0 / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.39e-05, allocations: 6.25 kB / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006963/0.006987, allocations: 6.707 MB / 280.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003687/0.01067, allocations: 2.306 MB / 283.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005102/0.01118, allocations: 63.56 kB / 283.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007447/0.01193, allocations: 464.8 kB / 283.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.01306, allocations: 0.7374 MB / 284.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.01345, allocations: 275.7 kB / 284.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.01532, allocations: 2.979 MB / 287.6 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.01646, allocations: 1.336 MB / 289 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.01844, allocations: 2.037 MB / 291 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.01984, allocations: 1.539 MB / 292.5 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003019/0.02015, allocations: 348 kB / 292.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.02061, allocations: 435.9 kB / 293.3 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005085/0.02112, allocations: 0.9583 MB / 294.3 MB, free: 32 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008423/0.02196, allocations: 1.08 MB / 295.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.02376, allocations: 2.582 MB / 297.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.02376, allocations: 0 / 297.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.02376, allocations: 0 / 297.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.859e-05/0.02379, allocations: 4 kB / 297.9 MB, free: 12.35 MB / 282.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.002958/0.02675, allocations: 3.094 MB / 301 MB, free: 9.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.02678, allocations: 8.031 kB / 301 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007008/0.02748, allocations: 0.5108 MB / 301.5 MB, free: 8.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.02877, allocations: 1.391 MB / 302.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/0.02885, allocations: 160.8 kB / 303.1 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.02905, allocations: 224.3 kB / 303.3 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.03077, allocations: 1.771 MB / 305.1 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.0308, allocations: 3.938 kB / 305.1 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.03092, allocations: 88 kB / 305.2 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.573e-05/0.03101, allocations: 120.5 kB / 305.3 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/0.03187, allocations: 0.6084 MB / 305.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006124/0.038, allocations: 6.47 MB / 312.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.03901, allocations: 1.027 MB / 313.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.03962, allocations: 0.5713 MB / 314 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.03975, allocations: 49.3 kB / 314 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.03978, allocations: 54.64 kB / 314.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 2.625e-06/0.03978, allocations: 0 / 314.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.003798/0.04358, allocations: 2.423 MB / 316.5 MB, free: 9.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.04362, allocations: 64.72 kB / 316.6 MB, free: 9.258 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008257/0.04444, allocations: 1.055 MB / 317.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/0.0445, allocations: 45.7 kB / 317.7 MB, free: 8.137 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000493/0.04499, allocations: 1.074 MB / 318.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.04523, allocations: 488 kB / 319.2 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.04547, allocations: 244.4 kB / 319.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.04563, allocations: 0.5471 MB / 320 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.04583, allocations: 142.5 kB / 320.1 MB, free: 5.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.04615, allocations: 393.1 kB / 320.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.04672, allocations: 0.5984 MB / 321.1 MB, free: 4.516 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.04672, allocations: 4 kB / 321.1 MB, free: 4.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001239/0.04796, allocations: 1.049 MB / 322.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.04798, allocations: 10.81 kB / 322.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.04799, allocations: 4 kB / 322.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.0492, allocations: 0.5374 MB / 322.7 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.04961, allocations: 195.7 kB / 322.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005658/0.05527, allocations: 9.995 MB / 332.9 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/0.0558, allocations: 28 kB / 332.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.05586, allocations: 35.98 kB / 333 MB, free: 8.172 MB / 314.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.0004471/0.05631, allocations: 232.3 kB / 333.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.05654, allocations: 195.2 kB / 333.4 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.05784, allocations: 1.041 MB / 334.4 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.05785, allocations: 20 kB / 334.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.05785, allocations: 4 kB / 334.5 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.05786, allocations: 7.969 kB / 334.5 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/0.06126, allocations: 2.917 MB / 337.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.06127, allocations: 4 kB / 337.4 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.06161, allocations: 151.9 kB / 337.5 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.06275, allocations: 0.5334 MB / 338.1 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.0628, allocations: 27.98 kB / 338.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005351/0.06816, allocations: 9.917 MB / 348 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.06816, allocations: 4 kB / 348 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.06984, allocations: 1.384 MB / 349.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.07022, allocations: 263.2 kB / 349.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.07033, allocations: 31.98 kB / 349.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.07067, allocations: 55.91 kB / 349.7 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.07084, allocations: 101.1 kB / 349.8 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.07089, allocations: 32.05 kB / 349.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000465/0.07135, allocations: 0.5984 MB / 350.5 MB, free: 6.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07135, allocations: 3.938 kB / 350.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001229/0.07258, allocations: 0.5117 MB / 351 MB, free: 5.516 MB / 330.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.0003663/0.07295, allocations: 221.1 kB / 351.2 MB, free: 5.301 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.07443, allocations: 1.623 MB / 352.8 MB, free: 3.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.07444, allocations: 0 / 352.8 MB, free: 3.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.07549, allocations: 1.38 MB / 354.2 MB, free: 2.148 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/0.07648, allocations: 407.9 kB / 354.6 MB, free: 1.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.108/0.1845, allocations: 3.92 MB / 358.5 MB, free: 77.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/0.1852, allocations: 0.7058 MB / 359.2 MB, free: 77.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006451/0.1858, allocations: 150.8 kB / 359.4 MB, free: 77.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007281/0.1866, allocations: 456.6 kB / 359.8 MB, free: 77.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.804e-06/0.1866, allocations: 1 kB / 359.8 MB, free: 77.27 MB / 330.7 MB Notification: Performance of Templates: time 0.03121/0.2178, allocations: 31.55 MB / 391.4 MB, free: 54.57 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.6734693609178066]