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.001076/0.001076, allocations: 80.41 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.001191/0.001191, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9585/0.9585, allocations: 177.1 MB / 206 MB, free: 4.488 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 3.296e-06/3.296e-06, allocations: 0 / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.524e-05, allocations: 3 kB / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008446/0.008471, allocations: 6.654 MB / 280.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003657/0.01213, allocations: 2.306 MB / 283.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004869/0.01261, allocations: 63.56 kB / 283.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.0134, allocations: 464.8 kB / 283.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.01448, allocations: 0.7064 MB / 284.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.01486, allocations: 291.5 kB / 284.7 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001963/0.01683, allocations: 2.944 MB / 287.6 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.01804, allocations: 1.336 MB / 288.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.02002, allocations: 2.008 MB / 291 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.02179, allocations: 1.524 MB / 292.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004373/0.02223, allocations: 348 kB / 292.8 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006255/0.02286, allocations: 443.8 kB / 293.3 MB, free: 1.273 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006983/0.02356, allocations: 0.9427 MB / 294.2 MB, free: 336 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.0247, allocations: 1.08 MB / 295.3 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.02725, allocations: 2.563 MB / 297.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.02725, allocations: 7.984 kB / 297.8 MB, free: 12.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.02725, allocations: 0 / 297.8 MB, free: 12.67 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.108e-05/0.0273, allocations: 0 / 297.8 MB, free: 12.67 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.004028/0.03132, allocations: 3.078 MB / 300.9 MB, free: 9.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.03136, allocations: 8.031 kB / 300.9 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.03236, allocations: 0.5147 MB / 301.4 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.03414, allocations: 1.379 MB / 302.8 MB, free: 7.586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.03426, allocations: 164.8 kB / 303 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.03454, allocations: 227.8 kB / 303.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.03689, allocations: 1.755 MB / 305 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/0.03693, allocations: 0 / 305 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.0371, allocations: 91.98 kB / 305.1 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.03721, allocations: 108.4 kB / 305.2 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.0385, allocations: 0.6158 MB / 305.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008345/0.04685, allocations: 6.419 MB / 312.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.04823, allocations: 1.038 MB / 313.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008026/0.04903, allocations: 0.5675 MB / 313.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.04917, allocations: 49.23 kB / 313.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.0492, allocations: 54.7 kB / 313.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 3.156e-06/0.04921, allocations: 0 / 313.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.004736/0.05394, allocations: 2.423 MB / 316.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.05398, allocations: 64.72 kB / 316.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.05503, allocations: 1.051 MB / 317.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.05509, allocations: 45.7 kB / 317.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006673/0.05576, allocations: 1.062 MB / 318.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.0561, allocations: 491.9 kB / 319 MB, free: 6.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003326/0.05643, allocations: 240.5 kB / 319.3 MB, free: 6.727 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.05663, allocations: 0.5511 MB / 319.8 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.0569, allocations: 138.5 kB / 319.9 MB, free: 6.031 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.05735, allocations: 397.1 kB / 320.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007903/0.05814, allocations: 0.5946 MB / 320.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.05814, allocations: 0 / 320.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001653/0.0598, allocations: 1.052 MB / 322 MB, free: 3.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.05981, allocations: 11.92 kB / 322 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.05982, allocations: 4 kB / 322 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.06137, allocations: 0.5413 MB / 322.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005438/0.06191, allocations: 191.8 kB / 322.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006905/0.06882, allocations: 9.988 MB / 332.7 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.06916, allocations: 39.94 kB / 332.8 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.06921, allocations: 28 kB / 332.8 MB, free: 8.574 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.0003179/0.06952, allocations: 228.3 kB / 333 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.06974, allocations: 199.1 kB / 333.2 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.07105, allocations: 1.037 MB / 334.2 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.07106, allocations: 12 kB / 334.2 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.07106, allocations: 4 kB / 334.2 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.07108, allocations: 15.91 kB / 334.3 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/0.07451, allocations: 2.921 MB / 337.2 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.07451, allocations: 8.047 kB / 337.2 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.07485, allocations: 151.9 kB / 337.3 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.07598, allocations: 0.5295 MB / 337.9 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.07603, allocations: 24 kB / 337.9 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005681/0.08172, allocations: 9.919 MB / 347.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.08172, allocations: 4 kB / 347.8 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.08322, allocations: 1.388 MB / 349.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.08355, allocations: 271.2 kB / 349.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.08365, allocations: 27.98 kB / 349.5 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.08397, allocations: 47.98 kB / 349.5 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.08412, allocations: 117 kB / 349.7 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.08417, allocations: 24 kB / 349.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004427/0.08461, allocations: 0.6023 MB / 350.3 MB, free: 6.422 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08461, allocations: 0 / 350.3 MB, free: 6.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001053/0.08566, allocations: 0.5116 MB / 350.8 MB, free: 5.91 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.0003636/0.08603, allocations: 212.2 kB / 351 MB, free: 5.699 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.08743, allocations: 1.619 MB / 352.6 MB, free: 4.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.08743, allocations: 4 kB / 352.6 MB, free: 4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.08843, allocations: 1.369 MB / 354 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008949/0.08933, allocations: 411.4 kB / 354.4 MB, free: 2.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1212/0.2105, allocations: 3.913 MB / 358.3 MB, free: 77.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/0.2113, allocations: 0.7 MB / 359 MB, free: 77.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006149/0.2119, allocations: 155.2 kB / 359.2 MB, free: 77.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007015/0.2126, allocations: 455.2 kB / 359.6 MB, free: 77.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.843e-06/0.2126, allocations: 0.5312 kB / 359.6 MB, free: 77.35 MB / 330.7 MB Notification: Performance of Templates: time 0.03438/0.247, allocations: 31.55 MB / 391.2 MB, free: 55.12 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.78104941919446]