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.0009137/0.0009137, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002322, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008927/0.0008927, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001973, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9288/0.9288, allocations: 158.6 MB / 171.1 MB, free: 2.559 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1633/1.092, allocations: 49.48 MB / 220.5 MB, free: 1.445 MB / 218.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.523e-06/1.523e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.968e-05, allocations: 10.25 kB / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.013/0.01302, allocations: 6.671 MB / 228.5 MB, free: 9.445 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.02393, allocations: 2.403 MB / 230.9 MB, free: 7.035 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009556/0.02488, allocations: 51.56 kB / 231 MB, free: 6.984 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009451/0.02583, allocations: 468.8 kB / 231.4 MB, free: 6.523 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004588/0.03042, allocations: 0.718 MB / 232.1 MB, free: 5.801 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.03095, allocations: 287.6 kB / 232.4 MB, free: 5.52 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005673/0.03662, allocations: 3.057 MB / 235.5 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.03819, allocations: 1.299 MB / 236.8 MB, free: 1.07 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005661/0.04385, allocations: 2.162 MB / 238.9 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.04555, allocations: 1.516 MB / 240.5 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004647/0.04601, allocations: 348 kB / 240.8 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.04658, allocations: 431.8 kB / 241.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004742/0.04706, allocations: 0.7599 MB / 242 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008569/0.04791, allocations: 0.8891 MB / 242.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.04994, allocations: 2.395 MB / 245.3 MB, free: 8.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.579e-05/0.04996, allocations: 7.984 kB / 245.3 MB, free: 8.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.04996, allocations: 0 / 245.3 MB, free: 8.562 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.346e-05/0.05, allocations: 0 / 245.3 MB, free: 8.562 MB / 250.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.00327/0.05328, allocations: 3.293 MB / 248.6 MB, free: 5.227 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.05331, allocations: 8.031 kB / 248.6 MB, free: 5.219 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006362/0.05395, allocations: 493.6 kB / 249.1 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.05499, allocations: 0.8773 MB / 249.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.347e-05/0.05508, allocations: 164.7 kB / 250.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.05528, allocations: 219.9 kB / 250.3 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.05706, allocations: 1.79 MB / 252.1 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.05708, allocations: 0 / 252.1 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.05721, allocations: 91.98 kB / 252.2 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-05/0.05729, allocations: 112.4 kB / 252.3 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009012/0.05819, allocations: 0.6495 MB / 252.9 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005582/0.06377, allocations: 5.028 MB / 258 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000963/0.06474, allocations: 0.9819 MB / 259 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/0.06532, allocations: 0.5327 MB / 259.5 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.06545, allocations: 45.3 kB / 259.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.06548, allocations: 47.88 kB / 259.6 MB, free: 9.809 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.826e-06/0.06548, allocations: 0 / 259.6 MB, free: 9.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003328/0.06881, allocations: 2.169 MB / 261.7 MB, free: 7.605 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.06884, allocations: 72.66 kB / 261.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006439/0.06949, allocations: 0.846 MB / 262.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.06955, allocations: 45.7 kB / 262.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.06986, allocations: 0.8151 MB / 263.5 MB, free: 5.785 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.07007, allocations: 460 kB / 264 MB, free: 5.332 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.07028, allocations: 202.8 kB / 264.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002601/0.07054, allocations: 361.8 kB / 264.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.07076, allocations: 153.4 kB / 264.7 MB, free: 4.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.07104, allocations: 304.7 kB / 265 MB, free: 4.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.07158, allocations: 0.5721 MB / 265.5 MB, free: 3.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.07158, allocations: 4 kB / 265.5 MB, free: 3.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001071/0.07265, allocations: 0.8567 MB / 266.4 MB, free: 2.762 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.07267, allocations: 11.94 kB / 266.4 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.07268, allocations: 4 kB / 266.4 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.0738, allocations: 0.5054 MB / 266.9 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.07432, allocations: 239.7 kB / 267.2 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005011/0.07933, allocations: 7.416 MB / 274.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.07972, allocations: 35.94 kB / 274.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.07977, allocations: 28 kB / 274.6 MB, free: 10.14 MB / 282.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.0004387/0.08021, allocations: 180.5 kB / 274.8 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.08039, allocations: 151.8 kB / 275 MB, free: 9.805 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.08152, allocations: 0.8882 MB / 275.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.08153, allocations: 19.88 kB / 275.9 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.08154, allocations: 4 kB / 275.9 MB, free: 8.867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.08154, allocations: 7.969 kB / 275.9 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/0.08439, allocations: 2.357 MB / 278.2 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.0844, allocations: 3.938 kB / 278.2 MB, free: 6.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.08482, allocations: 187.9 kB / 278.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.08512, allocations: 183 kB / 278.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.08635, allocations: 0.5007 MB / 279.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.0864, allocations: 27.98 kB / 279.1 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1113/0.1978, allocations: 7.479 MB / 286.6 MB, free: 46.15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.1978, allocations: 8.031 kB / 286.6 MB, free: 46.15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.1995, allocations: 1.192 MB / 287.8 MB, free: 45.87 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.1997, allocations: 27.61 kB / 287.8 MB, free: 45.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.2, allocations: 49.19 kB / 287.9 MB, free: 45.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.2002, allocations: 111 kB / 288 MB, free: 45.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.2003, allocations: 33.75 kB / 288 MB, free: 45.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004746/0.2007, allocations: 434.8 kB / 288.5 MB, free: 45.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2007, allocations: 0 / 288.5 MB, free: 45.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001204/0.2019, allocations: 0.5128 MB / 289 MB, free: 45.82 MB / 282.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.0004032/0.2023, allocations: 197.3 kB / 289.2 MB, free: 45.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.2039, allocations: 1.327 MB / 290.5 MB, free: 45.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.012e-05/0.2039, allocations: 22.69 kB / 290.5 MB, free: 45.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000935/0.2048, allocations: 1.121 MB / 291.6 MB, free: 44.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009883/0.2058, allocations: 0.5213 MB / 292.2 MB, free: 44.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.2192, allocations: 4.11 MB / 296.3 MB, free: 43.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.2198, allocations: 0.5881 MB / 296.8 MB, free: 43.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005082/0.2203, allocations: 161.5 kB / 297 MB, free: 42.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/0.2209, allocations: 392.5 kB / 297.4 MB, free: 42.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2209, allocations: 0 / 297.4 MB, free: 42.93 MB / 282.7 MB Notification: Performance of Templates: time 0.03183/0.2527, allocations: 32.47 MB / 329.9 MB, free: 16.03 MB / 282.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 -ignoreHideResult -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.47919659409672]