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.001427/0.001427, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001577/0.001577, allocations: 164.7 kB / 25.6 MB, free: 8.895 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.9823/0.9823, allocations: 158.6 MB / 187.5 MB, free: 2.816 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 6.61e-07/6.61e-07, allocations: 3.938 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.366e-06/9.027e-06, allocations: 14.19 kB / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005544/0.005553, allocations: 6.589 MB / 258.1 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.008408, allocations: 2.295 MB / 260.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004469/0.008855, allocations: 55.56 kB / 260.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.009638, allocations: 461.2 kB / 260.9 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.01075, allocations: 0.7297 MB / 261.6 MB, free: 13.06 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.01108, allocations: 291.5 kB / 261.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.01292, allocations: 3.01 MB / 264.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.01399, allocations: 1.264 MB / 266.2 MB, free: 8.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.0157, allocations: 1.986 MB / 268.1 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.01694, allocations: 1.532 MB / 269.7 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.01726, allocations: 351.9 kB / 270 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.01775, allocations: 431.8 kB / 270.4 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005121/0.01826, allocations: 0.935 MB / 271.4 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007467/0.01901, allocations: 1.08 MB / 272.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.0208, allocations: 2.551 MB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.0208, allocations: 0 / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.0208, allocations: 3.938 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.815e-05/0.02083, allocations: 0 / 275 MB, free: 15.57 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.002986/0.02381, allocations: 3.051 MB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.02385, allocations: 11.98 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.02447, allocations: 0.4991 MB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.02563, allocations: 1.22 MB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-05/0.02571, allocations: 164.8 kB / 280 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.02592, allocations: 219.9 kB / 280.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.02769, allocations: 1.759 MB / 281.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.02772, allocations: 0 / 281.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.02784, allocations: 91.98 kB / 282 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-05/0.02792, allocations: 112.4 kB / 282.1 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008922/0.02882, allocations: 0.608 MB / 282.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006278/0.03509, allocations: 6.423 MB / 289.2 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.03622, allocations: 1.034 MB / 290.2 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/0.03682, allocations: 0.586 MB / 290.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.03695, allocations: 41.3 kB / 290.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.03698, allocations: 50.7 kB / 290.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.295e-06/0.03698, allocations: 4 kB / 290.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.003689/0.04067, allocations: 2.376 MB / 293.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.0407, allocations: 64.72 kB / 293.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.0415, allocations: 1.055 MB / 294.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.04155, allocations: 45.7 kB / 294.4 MB, free: 11.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.04202, allocations: 1.062 MB / 295.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.04225, allocations: 483.9 kB / 295.9 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.04247, allocations: 244.5 kB / 296.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.04263, allocations: 0.5471 MB / 296.7 MB, free: 9.316 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.04283, allocations: 142.5 kB / 296.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.04315, allocations: 408.7 kB / 297.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.0437, allocations: 0.6059 MB / 297.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.0437, allocations: 0 / 297.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001214/0.04492, allocations: 1.064 MB / 298.9 MB, free: 6.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.04493, allocations: 4 kB / 298.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.04494, allocations: 4 kB / 299 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.0461, allocations: 0.5375 MB / 299.5 MB, free: 6.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.04649, allocations: 199.7 kB / 299.7 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/0.05242, allocations: 9.992 MB / 309.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.05273, allocations: 32 kB / 309.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.05278, allocations: 28 kB / 309.7 MB, free: 11.68 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.00032/0.0531, allocations: 236.3 kB / 310 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.05329, allocations: 202.9 kB / 310.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.05448, allocations: 1.049 MB / 311.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.05448, allocations: 16 kB / 311.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.05449, allocations: 4 kB / 311.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.0545, allocations: 3.984 kB / 311.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.05758, allocations: 2.913 MB / 314.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.05759, allocations: 0 / 314.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.0579, allocations: 147.8 kB / 314.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.059, allocations: 0.5299 MB / 314.8 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/0.05906, allocations: 28 kB / 314.8 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005824/0.06488, allocations: 9.934 MB / 324.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.06489, allocations: 3.984 kB / 324.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.06632, allocations: 1.388 MB / 326.2 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005589/0.06688, allocations: 262.9 kB / 326.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.312e-05/0.06697, allocations: 24 kB / 326.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.06729, allocations: 59.97 kB / 326.5 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.06744, allocations: 109 kB / 326.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.06748, allocations: 24 kB / 326.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004251/0.06791, allocations: 0.5904 MB / 327.2 MB, free: 9.531 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06791, allocations: 0 / 327.2 MB, free: 9.531 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009762/0.06889, allocations: 0.5117 MB / 327.7 MB, free: 9.02 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.0003066/0.06919, allocations: 205.6 kB / 327.9 MB, free: 8.816 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.0705, allocations: 1.631 MB / 329.6 MB, free: 7.105 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.0705, allocations: 0 / 329.6 MB, free: 7.105 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009647/0.07147, allocations: 1.384 MB / 331 MB, free: 5.648 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008761/0.07234, allocations: 415.9 kB / 331.4 MB, free: 5.242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.07679, allocations: 3.9 MB / 335.3 MB, free: 1.277 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.07728, allocations: 0.7053 MB / 336 MB, free: 0.543 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002794/0.07756, allocations: 144 kB / 336.1 MB, free: 408 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006055/0.07817, allocations: 454 kB / 336.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.07817, allocations: 3.938 kB / 336.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of Templates: time 0.1523/0.2304, allocations: 31.01 MB / 367.6 MB, free: 88.59 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.759927219245583]