Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002723, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009423/0.001978, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9454/0.9454, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08597/1.031, allocations: 52.5 MB / 238.3 MB, free: 4.422 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 239.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.013e-05, allocations: 6.312 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01012/0.01014, allocations: 6.729 MB / 246.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005786/0.01593, allocations: 2.336 MB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008286/0.01676, allocations: 63.56 kB / 248.7 MB, free: 10 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.0178, allocations: 464.9 kB / 249.1 MB, free: 9.543 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.01969, allocations: 0.7102 MB / 249.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.02024, allocations: 275.5 kB / 250.1 MB, free: 8.559 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00254/0.02278, allocations: 2.967 MB / 253.1 MB, free: 5.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.02386, allocations: 1.375 MB / 254.5 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.02585, allocations: 2.171 MB / 256.6 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.02706, allocations: 1.516 MB / 258.1 MB, free: 448 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.02735, allocations: 348 kB / 258.5 MB, free: 100 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/0.02782, allocations: 439.9 kB / 258.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.02829, allocations: 0.7637 MB / 259.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007637/0.02905, allocations: 0.8892 MB / 260.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.03086, allocations: 2.395 MB / 263 MB, free: 11.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-05/0.03088, allocations: 0 / 263 MB, free: 11.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03088, allocations: 0 / 263 MB, free: 11.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.596e-05/0.03091, allocations: 7.938 kB / 263 MB, free: 11.6 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.002992/0.03391, allocations: 3.313 MB / 266.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.03394, allocations: 12.03 kB / 266.3 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006001/0.03454, allocations: 485.6 kB / 266.8 MB, free: 7.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.03568, allocations: 0.9942 MB / 267.8 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.988e-05/0.03576, allocations: 164.8 kB / 267.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.03596, allocations: 219.9 kB / 268.1 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.03763, allocations: 1.79 MB / 269.9 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.03766, allocations: 0 / 269.9 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.03779, allocations: 95.92 kB / 270 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.572e-05/0.03786, allocations: 112.4 kB / 270.1 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008588/0.03872, allocations: 0.6456 MB / 270.8 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1103/0.149, allocations: 5.005 MB / 275.8 MB, free: 22.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.1502, allocations: 0.9834 MB / 276.8 MB, free: 22.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.1509, allocations: 0.5177 MB / 277.3 MB, free: 22.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.1511, allocations: 49.58 kB / 277.3 MB, free: 22.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1511, allocations: 50.23 kB / 277.4 MB, free: 22.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.547e-06/0.1511, allocations: 0.7812 kB / 277.4 MB, free: 22.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004613/0.1557, allocations: 2.211 MB / 279.6 MB, free: 21.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.1557, allocations: 66.08 kB / 279.7 MB, free: 21.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008567/0.1566, allocations: 0.8461 MB / 280.5 MB, free: 21.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.1566, allocations: 54.39 kB / 280.6 MB, free: 21.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.157, allocations: 0.8119 MB / 281.4 MB, free: 21.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.1572, allocations: 465 kB / 281.8 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.1574, allocations: 204.5 kB / 282 MB, free: 20.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.1575, allocations: 358.6 kB / 282.4 MB, free: 20.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.1578, allocations: 155.5 kB / 282.5 MB, free: 20.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.1581, allocations: 297.7 kB / 282.8 MB, free: 20.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006896/0.1588, allocations: 0.5582 MB / 283.4 MB, free: 20.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1588, allocations: 6.141 kB / 283.4 MB, free: 20.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001345/0.1601, allocations: 0.8502 MB / 284.2 MB, free: 20.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1602, allocations: 9.984 kB / 284.2 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1602, allocations: 7.125 kB / 284.2 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.1615, allocations: 0.5005 MB / 284.7 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.1622, allocations: 242.7 kB / 285 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/0.1669, allocations: 7.425 MB / 292.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.1673, allocations: 36.55 kB / 292.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.1674, allocations: 28.78 kB / 292.5 MB, free: 14.71 MB / 266.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.0003672/0.1677, allocations: 177.2 kB / 292.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.1679, allocations: 146.4 kB / 292.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.1692, allocations: 0.8947 MB / 293.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.1692, allocations: 15.44 kB / 293.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1692, allocations: 7.656 kB / 293.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.1692, allocations: 10.89 kB / 293.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.1721, allocations: 2.362 MB / 296.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1721, allocations: 3 kB / 296.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005229/0.1727, allocations: 189.9 kB / 296.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/0.173, allocations: 177.6 kB / 296.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.1742, allocations: 0.5158 MB / 297 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.1743, allocations: 26.98 kB / 297 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004285/0.1786, allocations: 7.465 MB / 304.4 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1786, allocations: 7.938 kB / 304.5 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.18, allocations: 1.198 MB / 305.6 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.1801, allocations: 32.36 kB / 305.7 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.1805, allocations: 55.97 kB / 305.7 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.1807, allocations: 113 kB / 305.8 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.1807, allocations: 24 kB / 305.9 MB, free: 5.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003546/0.1811, allocations: 433.1 kB / 306.3 MB, free: 5.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1811, allocations: 0 / 306.3 MB, free: 5.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001166/0.1822, allocations: 0.5155 MB / 306.8 MB, free: 4.633 MB / 266.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.0003668/0.1826, allocations: 194.3 kB / 307 MB, free: 4.445 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.1839, allocations: 1.33 MB / 308.3 MB, free: 3.086 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.638e-05/0.1839, allocations: 26.38 kB / 308.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000894/0.1848, allocations: 1.101 MB / 309.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.1859, allocations: 0.5235 MB / 310 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.1996, allocations: 4.127 MB / 314.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.2001, allocations: 0.5921 MB / 314.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003678/0.2005, allocations: 147.9 kB / 314.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006119/0.2011, allocations: 391.1 kB / 315.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2011, allocations: 0 / 315.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of Templates: time 0.03618/0.2373, allocations: 32.41 MB / 347.6 MB, free: 12.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.4448764845728874]