Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008888/0.0008888, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001011/0.001011, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9115/0.9115, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 273.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.465e-05, allocations: 13.06 kB / 273.5 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005236/0.005251, allocations: 6.666 MB / 280.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.007732, allocations: 2.376 MB / 282.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.008045, allocations: 63.56 kB / 282.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006735/0.008718, allocations: 464.8 kB / 283 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008871/0.009605, allocations: 0.7258 MB / 283.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.009897, allocations: 283.6 kB / 284 MB, free: 9.844 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.01164, allocations: 2.952 MB / 287 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.01265, allocations: 1.367 MB / 288.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.0142, allocations: 2.011 MB / 290.4 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.01531, allocations: 1.524 MB / 291.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.01556, allocations: 348 kB / 292.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.01597, allocations: 427.8 kB / 292.6 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006192/0.01659, allocations: 0.9466 MB / 293.6 MB, free: 216 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006907/0.01728, allocations: 1.076 MB / 294.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.0189, allocations: 2.567 MB / 297.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.0189, allocations: 0 / 297.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.0189, allocations: 4 kB / 297.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.01891, allocations: 0 / 297.2 MB, free: 12.55 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00252/0.02143, allocations: 2.785 MB / 300 MB, free: 9.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.02146, allocations: 8.031 kB / 300 MB, free: 9.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006292/0.02209, allocations: 432.6 kB / 300.4 MB, free: 9.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.02321, allocations: 1.01 MB / 301.5 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/0.02329, allocations: 160.8 kB / 301.6 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.0235, allocations: 223.9 kB / 301.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.02569, allocations: 1.79 MB / 303.6 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.02572, allocations: 0 / 303.6 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.02585, allocations: 91.98 kB / 303.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.76e-05/0.02593, allocations: 108.4 kB / 303.8 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009039/0.02684, allocations: 0.6495 MB / 304.5 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005055/0.03189, allocations: 4.993 MB / 309.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008945/0.03279, allocations: 0.9712 MB / 310.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.03344, allocations: 0.5179 MB / 310.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.03357, allocations: 53.28 kB / 311 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.0336, allocations: 47.81 kB / 311 MB, free: 14.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 3.136e-06/0.0336, allocations: 3.984 kB / 311.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.003268/0.03687, allocations: 2.216 MB / 313.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.03691, allocations: 64.72 kB / 313.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005633/0.03747, allocations: 0.8387 MB / 314.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.03752, allocations: 49.7 kB / 314.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.03782, allocations: 0.8191 MB / 315 MB, free: 10.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.03802, allocations: 464 kB / 315.5 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.03822, allocations: 210.8 kB / 315.7 MB, free: 9.578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.0383, allocations: 353.8 kB / 316 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.0385, allocations: 149.4 kB / 316.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.03876, allocations: 307.9 kB / 316.5 MB, free: 8.734 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/0.03927, allocations: 0.5634 MB / 317 MB, free: 8.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.03927, allocations: 0 / 317 MB, free: 8.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001147/0.04042, allocations: 0.8486 MB / 317.9 MB, free: 7.246 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.04044, allocations: 8 kB / 317.9 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.04044, allocations: 7.938 kB / 317.9 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.04152, allocations: 0.5097 MB / 318.4 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.0419, allocations: 195.7 kB / 318.6 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/0.04643, allocations: 7.396 MB / 326 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.04673, allocations: 32 kB / 326 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.04678, allocations: 35.98 kB / 326.1 MB, free: 14.68 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.0002925/0.04707, allocations: 192.4 kB / 326.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.04725, allocations: 143.8 kB / 326.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.0483, allocations: 0.8883 MB / 327.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.04831, allocations: 16 kB / 327.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.04832, allocations: 7.938 kB / 327.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.04832, allocations: 7.969 kB / 327.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.0509, allocations: 2.362 MB / 329.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.0509, allocations: 3.938 kB / 329.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.05122, allocations: 143.9 kB / 329.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.05224, allocations: 0.5087 MB / 330.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.05229, allocations: 28 kB / 330.4 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004395/0.05668, allocations: 7.439 MB / 337.8 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.05669, allocations: 4.031 kB / 337.8 MB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.05795, allocations: 1.188 MB / 339 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.05823, allocations: 198.8 kB / 339.2 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.05833, allocations: 27.98 kB / 339.2 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.05876, allocations: 51.98 kB / 339.3 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.0589, allocations: 113 kB / 339.4 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.05894, allocations: 28 kB / 339.4 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003282/0.05927, allocations: 435.7 kB / 339.8 MB, free: 404 kB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05927, allocations: 0 / 339.8 MB, free: 404 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009505/0.06022, allocations: 0.5079 MB / 340.3 MB, free: 15.88 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.0003285/0.06055, allocations: 208.2 kB / 340.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.06171, allocations: 1.327 MB / 341.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/0.06172, allocations: 16 kB / 341.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008338/0.06256, allocations: 1.103 MB / 343 MB, free: 13.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.06338, allocations: 408 kB / 343.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.06738, allocations: 3.809 MB / 347.2 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.06783, allocations: 0.5804 MB / 347.8 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002844/0.06812, allocations: 148 kB / 347.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/0.06871, allocations: 395.1 kB / 348.3 MB, free: 7.707 MB / 330.7 MB Notification: Performance of SimCode: time 9.11e-07/0.06871, allocations: 4 kB / 348.3 MB, free: 7.703 MB / 330.7 MB Notification: Performance of Templates: time 0.1255/0.1942, allocations: 30.88 MB / 379.2 MB, free: 68.56 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.285590467043221]