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.001447/0.001447, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001506/0.001506, allocations: 167.3 kB / 25.33 MB, free: 9.211 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 0.9144/0.9144, allocations: 158.6 MB / 187.2 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 251 MB, free: 7.488 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.265e-05, allocations: 2.312 kB / 251.1 MB, free: 7.484 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007101/0.007133, allocations: 6.765 MB / 257.8 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004129/0.01126, allocations: 2.314 MB / 260.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007562/0.01202, allocations: 55.56 kB / 260.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009868/0.01301, allocations: 465.2 kB / 260.6 MB, free: 13.85 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.01458, allocations: 0.7219 MB / 261.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.01508, allocations: 287.6 kB / 261.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002495/0.01757, allocations: 3.018 MB / 264.7 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.01889, allocations: 1.26 MB / 265.9 MB, free: 8.488 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.02178, allocations: 1.986 MB / 267.9 MB, free: 6.516 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.02365, allocations: 1.508 MB / 269.4 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005479/0.02419, allocations: 356 kB / 269.8 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007276/0.02492, allocations: 431.8 kB / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00057/0.02549, allocations: 0.935 MB / 271.1 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.02659, allocations: 1.08 MB / 272.2 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.02882, allocations: 2.547 MB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.02882, allocations: 0 / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02883, allocations: 0 / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.437e-05/0.02886, allocations: 0 / 274.7 MB, free: 15.66 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.00334/0.0322, allocations: 3.141 MB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.03224, allocations: 11.98 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006987/0.03294, allocations: 0.4991 MB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.03454, allocations: 1.333 MB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.564e-05/0.03463, allocations: 164.7 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.03484, allocations: 219.9 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.03719, allocations: 1.908 MB / 282 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.03721, allocations: 0 / 282 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.03733, allocations: 88 kB / 282.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.33e-05/0.03742, allocations: 112.4 kB / 282.2 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.03889, allocations: 0.8068 MB / 283 MB, free: 7.117 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00713/0.04602, allocations: 6.98 MB / 290 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.04738, allocations: 1.135 MB / 291.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008584/0.04824, allocations: 0.6448 MB / 291.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.04841, allocations: 53.28 kB / 291.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.04845, allocations: 50.7 kB / 291.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 3.767e-06/0.04846, allocations: 0 / 291.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.004884/0.05334, allocations: 3.026 MB / 294.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.05338, allocations: 68.72 kB / 295 MB, free: 10.94 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009959/0.05437, allocations: 1.079 MB / 296 MB, free: 9.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.05443, allocations: 49.7 kB / 296.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004826/0.05491, allocations: 1.05 MB / 297.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/0.05525, allocations: 484 kB / 297.6 MB, free: 8.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.05551, allocations: 236.5 kB / 297.9 MB, free: 8.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.05568, allocations: 0.5472 MB / 298.4 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.056, allocations: 190.5 kB / 298.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.05646, allocations: 448.8 kB / 299 MB, free: 6.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008409/0.05731, allocations: 0.6998 MB / 299.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.05731, allocations: 0 / 299.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001794/0.0591, allocations: 1.162 MB / 300.9 MB, free: 4.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.05913, allocations: 8 kB / 300.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.05914, allocations: 4 kB / 300.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.06046, allocations: 0.5683 MB / 301.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.06089, allocations: 195.8 kB / 301.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006747/0.06764, allocations: 10.29 MB / 312 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009141/0.06855, allocations: 55.94 kB / 312 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/0.06863, allocations: 40 kB / 312 MB, free: 9.145 MB / 298.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.000642/0.06928, allocations: 232.3 kB / 312.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.06959, allocations: 207 kB / 312.5 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.07125, allocations: 1.17 MB / 313.6 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.07126, allocations: 16 kB / 313.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.07126, allocations: 4 kB / 313.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.07127, allocations: 3.984 kB / 313.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005137/0.07641, allocations: 3.075 MB / 316.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.07642, allocations: 0 / 316.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.07689, allocations: 155.8 kB / 316.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.07845, allocations: 0.5611 MB / 317.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.786e-05/0.07853, allocations: 31.98 kB / 317.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007498/0.08603, allocations: 10.22 MB / 327.7 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.08603, allocations: 0 / 327.7 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.08859, allocations: 1.556 MB / 329.3 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005754/0.08917, allocations: 290.9 kB / 329.5 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.08931, allocations: 28 kB / 329.6 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.0898, allocations: 71.94 kB / 329.6 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/0.09006, allocations: 129.1 kB / 329.8 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.305e-05/0.09014, allocations: 32 kB / 329.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008518/0.09099, allocations: 0.6531 MB / 330.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09099, allocations: 3.938 kB / 330.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001593/0.09258, allocations: 0.5117 MB / 331 MB, free: 5.535 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.0004767/0.09306, allocations: 193.1 kB / 331.2 MB, free: 5.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.09531, allocations: 1.717 MB / 332.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.09531, allocations: 0 / 332.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.09752, allocations: 1.427 MB / 334.3 MB, free: 2.047 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.09883, allocations: 415.8 kB / 334.7 MB, free: 1.641 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/0.1051, allocations: 3.927 MB / 338.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/0.1058, allocations: 0.7014 MB / 339.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005804/0.1064, allocations: 223.8 kB / 339.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.1066, allocations: 88.48 kB / 339.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1066, allocations: 0 / 339.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of Templates: time 0.1502/0.2568, allocations: 29.25 MB / 368.9 MB, free: 88.11 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","",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.836429497692734]