Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002691/0.002691, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002442/0.002442, allocations: 167.8 kB / 25.03 MB, free: 8.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_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.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.332e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01277/0.01281, allocations: 6.705 MB / 257.1 MB, free: 1.082 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005262/0.01807, allocations: 2.303 MB / 259.4 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.01938, allocations: 55.56 kB / 259.4 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.02078, allocations: 456.8 kB / 259.9 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.023, allocations: 0.718 MB / 260.6 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006532/0.02365, allocations: 283.6 kB / 260.9 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003939/0.02759, allocations: 3.026 MB / 263.9 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.02992, allocations: 1.268 MB / 265.2 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004857/0.03478, allocations: 1.991 MB / 267.2 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/0.03795, allocations: 1.508 MB / 268.7 MB, free: 5.414 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007062/0.03865, allocations: 352 kB / 269 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.03975, allocations: 423.9 kB / 269.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.04081, allocations: 0.9427 MB / 270.4 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002202/0.04301, allocations: 1.076 MB / 271.4 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00607/0.04908, allocations: 4.721 MB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.04909, allocations: 0 / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04909, allocations: 0 / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001182/0.04921, allocations: 0 / 276.2 MB, free: 13.89 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.007389/0.0566, allocations: 3.356 MB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.05664, allocations: 12.03 kB / 279.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.05783, allocations: 0.4952 MB / 280 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/0.06103, allocations: 1.364 MB / 281.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.0612, allocations: 164.7 kB / 281.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003846/0.06158, allocations: 223.9 kB / 281.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006128/0.06771, allocations: 3.321 MB / 285.1 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/0.06776, allocations: 0 / 285.1 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/0.068, allocations: 92 kB / 285.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/0.06814, allocations: 108.4 kB / 285.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004896/0.07304, allocations: 2.379 MB / 287.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01919/0.09223, allocations: 10.96 MB / 298.6 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003141/0.09537, allocations: 1.716 MB / 300.3 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.09732, allocations: 1.077 MB / 301.4 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.09755, allocations: 49.28 kB / 301.5 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/0.0976, allocations: 54.69 kB / 301.5 MB, free: 3.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 3.076e-06/0.09761, allocations: 4 kB / 301.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.01124/0.1088, allocations: 4.662 MB / 306.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.1089, allocations: 68.7 kB / 306.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.1115, allocations: 1.469 MB / 307.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.1116, allocations: 45.7 kB / 307.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.1127, allocations: 1.113 MB / 308.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005574/0.1132, allocations: 0.5 MB / 309.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005012/0.1137, allocations: 280.5 kB / 309.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003905/0.1141, allocations: 0.5746 MB / 310.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.1152, allocations: 0.549 MB / 310.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.1165, allocations: 0.8287 MB / 311.6 MB, free: 9.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/0.119, allocations: 1.457 MB / 313.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.119, allocations: 4 kB / 313.1 MB, free: 8.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00438/0.1234, allocations: 2.06 MB / 315.1 MB, free: 5.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.1234, allocations: 8 kB / 315.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.1234, allocations: 8.031 kB / 315.1 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003161/0.1266, allocations: 0.8065 MB / 315.9 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008648/0.1275, allocations: 199.7 kB / 316.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/0.1436, allocations: 12.73 MB / 328.9 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.1446, allocations: 55.89 kB / 328.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.1447, allocations: 44 kB / 329 MB, free: 7.645 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.001351/0.146, allocations: 0.7382 MB / 329.7 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/0.1465, allocations: 203 kB / 329.9 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004187/0.1507, allocations: 1.943 MB / 331.8 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.1507, allocations: 12 kB / 331.9 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.1507, allocations: 16.06 kB / 331.9 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.1507, allocations: 3.984 kB / 331.9 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009476/0.1602, allocations: 4.462 MB / 336.3 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.1602, allocations: 4 kB / 336.3 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.1609, allocations: 155.8 kB / 336.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003009/0.1639, allocations: 0.7797 MB / 337.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.893e-05/0.164, allocations: 28 kB / 337.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01504/0.1791, allocations: 12.31 MB / 349.6 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1791, allocations: 4 kB / 349.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1412/0.3203, allocations: 2.674 MB / 352.3 MB, free: 96.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/0.3219, allocations: 283.5 kB / 352.6 MB, free: 96.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003146/0.3222, allocations: 30.92 kB / 352.6 MB, free: 96.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.3236, allocations: 65.38 kB / 352.7 MB, free: 96.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005564/0.3242, allocations: 132.1 kB / 352.8 MB, free: 96.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.3243, allocations: 33.09 kB / 352.8 MB, free: 96.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001968/0.3263, allocations: 0.9158 MB / 353.7 MB, free: 96.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3263, allocations: 0 / 353.7 MB, free: 96.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00274/0.329, allocations: 0.5074 MB / 354.2 MB, free: 96.4 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.0006948/0.3297, allocations: 216.3 kB / 354.5 MB, free: 96.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005215/0.3349, allocations: 2.387 MB / 356.8 MB, free: 95.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.335, allocations: 3.125 kB / 356.9 MB, free: 95.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003491/0.3384, allocations: 1.731 MB / 358.6 MB, free: 94.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/0.3414, allocations: 411 kB / 359 MB, free: 94.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008733/0.3501, allocations: 4.259 MB / 363.2 MB, free: 93.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.3516, allocations: 1.354 MB / 364.6 MB, free: 93.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009314/0.3525, allocations: 222.6 kB / 364.8 MB, free: 93.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.3528, allocations: 88.69 kB / 364.9 MB, free: 93.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3528, allocations: 0 / 364.9 MB, free: 93.05 MB / 330.7 MB Notification: Performance of Templates: time 0.03588/0.3887, allocations: 29.23 MB / 394.1 MB, free: 64.44 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.727795819053426]