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.00131/0.00131, allocations: 103.5 kB / 20.43 MB, free: 1.328 MB / 14.72 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.001337/0.001337, allocations: 187.2 kB / 23.7 MB, free: 4.523 MB / 14.72 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 1.414/1.414, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.1..i|transformer1.l2sigma.inductor.3..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.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 51.92 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2521, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008487/0.2606, allocations: 6.135 MB / 429.2 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0045/0.2651, allocations: 2.165 MB / 431.4 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006429/0.2657, allocations: 63.56 kB / 431.4 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.2668, allocations: 457 kB / 431.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.2685, allocations: 0.6914 MB / 432.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.269, allocations: 271.7 kB / 432.8 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003049/0.272, allocations: 2.828 MB / 435.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.2739, allocations: 1.328 MB / 437 MB, free: 444 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.2763, allocations: 1.345 MB / 438.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.2787, allocations: 1.541 MB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004867/0.2792, allocations: 352 kB / 440.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008147/0.28, allocations: 431.8 kB / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008349/0.2808, allocations: 0.9037 MB / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.2823, allocations: 1.237 MB / 442.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005249/0.2875, allocations: 4.662 MB / 447.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2875, allocations: 0 / 447.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2875, allocations: 0 / 447.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.825e-05/0.2876, allocations: 0 / 447.5 MB, free: 5.961 MB / 350.1 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.00591/0.2935, allocations: 2.967 MB / 450.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2936, allocations: 8.031 kB / 450.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007604/0.2943, allocations: 323.1 kB / 450.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/0.2975, allocations: 1.611 MB / 452.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.2976, allocations: 160.4 kB / 452.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/0.2979, allocations: 212 kB / 452.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00531/0.3032, allocations: 3.362 MB / 456.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/0.3033, allocations: 0 / 456.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.3035, allocations: 95.97 kB / 456.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.3036, allocations: 108.5 kB / 456.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004553/0.3082, allocations: 2.73 MB / 459 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.3218, allocations: 7.601 MB / 466.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/0.3248, allocations: 1.932 MB / 468.5 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.3267, allocations: 1.227 MB / 469.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.327, allocations: 45.28 kB / 469.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.327, allocations: 63.75 kB / 469.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.126e-06/0.327, allocations: 0 / 469.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01072/0.3377, allocations: 5.283 MB / 475.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.3378, allocations: 64.72 kB / 475.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.3396, allocations: 1.274 MB / 476.5 MB, free: 8.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.722e-05/0.3397, allocations: 53.64 kB / 476.6 MB, free: 8.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007443/0.3405, allocations: 0.9733 MB / 477.5 MB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/0.3408, allocations: 468 kB / 478 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003555/0.3412, allocations: 222.9 kB / 478.2 MB, free: 6.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3414, allocations: 349.9 kB / 478.5 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.3425, allocations: 0.6935 MB / 479.2 MB, free: 5.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.3437, allocations: 0.859 MB / 480.1 MB, free: 4.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.346, allocations: 1.608 MB / 481.7 MB, free: 3.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.346, allocations: 0 / 481.7 MB, free: 3.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003854/0.3499, allocations: 2.272 MB / 484 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3499, allocations: 8 kB / 484 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3499, allocations: 0 / 484 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002934/0.3528, allocations: 0.8344 MB / 484.8 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/0.3536, allocations: 199.8 kB / 485 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.3665, allocations: 10.88 MB / 495.9 MB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009709/0.3675, allocations: 51.95 kB / 495.9 MB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/0.3675, allocations: 40 kB / 496 MB, free: 4.414 MB / 398.1 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.001272/0.3688, allocations: 0.8125 MB / 496.8 MB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.3691, allocations: 151.1 kB / 496.9 MB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003734/0.3728, allocations: 2.236 MB / 499.2 MB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.3728, allocations: 19.94 kB / 499.2 MB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.3728, allocations: 7.938 kB / 499.2 MB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.3728, allocations: 7.969 kB / 499.2 MB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00734/0.3802, allocations: 4.149 MB / 0.4916 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.3802, allocations: 12.12 kB / 0.4916 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/0.3808, allocations: 159.7 kB / 0.4917 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/0.3833, allocations: 0.8071 MB / 0.4925 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.598e-05/0.3834, allocations: 31.92 kB / 0.4925 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.3958, allocations: 10.76 MB / 0.5031 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.3958, allocations: 7.875 kB / 0.5031 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005095/0.4009, allocations: 3.2 MB / 0.5062 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009785/0.4018, allocations: 319 kB / 0.5065 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.402, allocations: 31.98 kB / 0.5065 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007521/0.4028, allocations: 71.89 kB / 0.5066 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/0.4031, allocations: 121 kB / 0.5067 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.062e-05/0.4031, allocations: 36 kB / 0.5067 GB, free: 12.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001333/0.4045, allocations: 0.8952 MB / 0.5076 GB, free: 12.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4045, allocations: 480 / 0.5076 GB, free: 12.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001764/0.4062, allocations: 0.5078 MB / 0.5081 GB, free: 11.52 MB / 430.1 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.0005013/0.4067, allocations: 215.6 kB / 0.5083 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003923/0.4107, allocations: 2.35 MB / 0.5106 GB, free: 8.906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4107, allocations: 0 / 0.5106 GB, free: 8.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002524/0.4132, allocations: 1.59 MB / 0.5122 GB, free: 7.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.4152, allocations: 400 kB / 0.5125 GB, free: 6.879 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008995/0.4242, allocations: 4.683 MB / 0.5171 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/0.426, allocations: 1.462 MB / 0.5185 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009205/0.427, allocations: 279.8 kB / 0.5188 GB, free: 364 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.4272, allocations: 91.42 kB / 0.5189 GB, free: 272 kB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4272, allocations: 0 / 0.5189 GB, free: 272 kB / 430.1 MB Notification: Performance of Templates: time 0.2554/0.6826, allocations: 31.8 MB / 0.55 GB, free: 101.1 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.84641352109611]