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.00103/0.00103, allocations: 85.08 kB / 23 MB, free: 1.504 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.001218/0.001218, allocations: 173.4 kB / 26.39 MB, free: 8.004 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.9708/0.9708, allocations: 158.6 MB / 188.3 MB, free: 2.824 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.754e-06/1.754e-06, allocations: 0 / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.81e-05, allocations: 6.25 kB / 252.3 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008546/0.008574, allocations: 6.593 MB / 258.9 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005228/0.0138, allocations: 2.302 MB / 261.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008955/0.0147, allocations: 55.56 kB / 261.2 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.01587, allocations: 461.2 kB / 261.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.01781, allocations: 0.7258 MB / 262.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.01843, allocations: 291.5 kB / 262.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.02142, allocations: 3.014 MB / 265.7 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.02334, allocations: 1.264 MB / 267 MB, free: 8.418 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006646/0.02999, allocations: 1.977 MB / 268.9 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.0328, allocations: 1.532 MB / 270.5 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.03382, allocations: 348 kB / 270.8 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.03524, allocations: 435.8 kB / 271.2 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.0363, allocations: 0.935 MB / 272.2 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002513/0.03881, allocations: 1.08 MB / 273.2 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004062/0.04287, allocations: 2.547 MB / 275.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.04287, allocations: 0 / 275.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04288, allocations: 0 / 275.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001138/0.04299, allocations: 4 kB / 275.8 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.004233/0.04722, allocations: 3.055 MB / 278.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.04726, allocations: 15.98 kB / 278.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.0486, allocations: 0.499 MB / 279.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.05011, allocations: 1.212 MB / 280.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.05019, allocations: 160.8 kB / 280.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.05042, allocations: 227.9 kB / 281 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.0525, allocations: 1.751 MB / 282.7 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.05254, allocations: 7.938 kB / 282.7 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.05267, allocations: 91.97 kB / 282.8 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.259e-05/0.05275, allocations: 108.5 kB / 282.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.05377, allocations: 0.6041 MB / 283.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007039/0.06081, allocations: 6.435 MB / 290 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.06187, allocations: 1.033 MB / 291 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006263/0.06249, allocations: 0.5744 MB / 291.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.06262, allocations: 49.3 kB / 291.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.06266, allocations: 54.7 kB / 291.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.946e-06/0.06266, allocations: 0 / 291.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.003869/0.06653, allocations: 2.38 MB / 294 MB, free: 12.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.06656, allocations: 64.72 kB / 294.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008817/0.06745, allocations: 1.043 MB / 295.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.0675, allocations: 53.7 kB / 295.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005631/0.06807, allocations: 1.062 MB / 296.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.06833, allocations: 483.9 kB / 296.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.06858, allocations: 244.4 kB / 297 MB, free: 9.871 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.06874, allocations: 0.5549 MB / 297.5 MB, free: 9.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.06896, allocations: 146.4 kB / 297.7 MB, free: 9.164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.0693, allocations: 396.8 kB / 298.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/0.0699, allocations: 0.6137 MB / 298.7 MB, free: 8.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.06991, allocations: 4 kB / 298.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001317/0.07122, allocations: 1.056 MB / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.07124, allocations: 8 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.07125, allocations: 4 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.0725, allocations: 0.5374 MB / 300.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.07291, allocations: 191.7 kB / 300.5 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006579/0.07949, allocations: 9.987 MB / 310.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.08015, allocations: 32 kB / 310.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.08021, allocations: 28 kB / 310.5 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.0005483/0.08076, allocations: 240.3 kB / 310.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.08103, allocations: 206.9 kB / 311 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.08241, allocations: 1.041 MB / 312 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.08242, allocations: 16 kB / 312 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.08242, allocations: 4 kB / 312 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.08243, allocations: 7.969 kB / 312 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.086, allocations: 2.905 MB / 314.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.086, allocations: 0 / 314.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.08634, allocations: 155.9 kB / 315.1 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.08752, allocations: 0.5336 MB / 315.6 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.08757, allocations: 32.06 kB / 315.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005765/0.09334, allocations: 9.906 MB / 325.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.09334, allocations: 0 / 325.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.09515, allocations: 1.4 MB / 327 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004862/0.09563, allocations: 258.9 kB / 327.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.09575, allocations: 28 kB / 327.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.0961, allocations: 55.97 kB / 327.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.09629, allocations: 113 kB / 327.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.09634, allocations: 24 kB / 327.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005154/0.09686, allocations: 0.5943 MB / 328 MB, free: 9.535 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09686, allocations: 0 / 328 MB, free: 9.535 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001423/0.09828, allocations: 0.5117 MB / 328.5 MB, free: 9.023 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.0004389/0.09872, allocations: 202.1 kB / 328.7 MB, free: 8.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.1005, allocations: 1.627 MB / 330.3 MB, free: 7.117 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1005, allocations: 0 / 330.3 MB, free: 7.117 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.1018, allocations: 1.388 MB / 331.7 MB, free: 5.656 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009908/0.1027, allocations: 408 kB / 332.1 MB, free: 5.258 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005794/0.1085, allocations: 3.904 MB / 336 MB, free: 1.289 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.1093, allocations: 0.7014 MB / 336.7 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004733/0.1098, allocations: 155.9 kB / 336.9 MB, free: 412 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007879/0.1106, allocations: 449.9 kB / 337.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1106, allocations: 0 / 337.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of Templates: time 0.1533/0.2639, allocations: 31.58 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.795801787171513]