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.001617/0.001617, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001791/0.001791, allocations: 186 kB / 22.21 MB, free: 116 kB / 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.399/1.399, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.001465/0.001465, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2479, allocations: 52.14 MB / 420.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008434/0.2564, allocations: 6.936 MB / 427.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004126/0.2605, allocations: 2.286 MB / 430.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007614/0.2612, allocations: 43.81 kB / 430.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.2623, allocations: 469 kB / 430.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.2638, allocations: 0.6875 MB / 431.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.2643, allocations: 267.6 kB / 431.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002963/0.2673, allocations: 2.832 MB / 434.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.269, allocations: 1.367 MB / 435.7 MB, free: 160 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.2714, allocations: 1.313 MB / 437.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.2735, allocations: 1.576 MB / 438.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004399/0.2739, allocations: 348 kB / 439 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007439/0.2747, allocations: 431.8 kB / 439.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008047/0.2755, allocations: 0.9077 MB / 440.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.2772, allocations: 1.521 MB / 441.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.2823, allocations: 4.634 MB / 446.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2823, allocations: 4 kB / 446.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2823, allocations: 0 / 446.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001049/0.2824, allocations: 3.984 kB / 446.5 MB, free: 5.41 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.006123/0.2885, allocations: 3.039 MB / 449.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2885, allocations: 8.031 kB / 449.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000796/0.2893, allocations: 331.1 kB / 449.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.2921, allocations: 1.648 MB / 451.5 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.2922, allocations: 160.4 kB / 451.6 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/0.2926, allocations: 223.9 kB / 451.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005189/0.2978, allocations: 3.178 MB / 455 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.2978, allocations: 0 / 455 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/0.298, allocations: 91.98 kB / 455.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.2981, allocations: 108.4 kB / 455.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004417/0.3025, allocations: 2.734 MB / 458 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.316, allocations: 8.774 MB / 466.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003608/0.3196, allocations: 3.294 MB / 470 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/0.3215, allocations: 1.23 MB / 471.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/0.3217, allocations: 130.3 kB / 471.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.3218, allocations: 47.81 kB / 471.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 2.975e-06/0.3218, allocations: 0 / 471.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01082/0.3326, allocations: 5.758 MB / 477.2 MB, free: 5.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3327, allocations: 76.64 kB / 477.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.3349, allocations: 1.486 MB / 478.8 MB, free: 4.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.099e-05/0.335, allocations: 53.64 kB / 478.8 MB, free: 4.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/0.3357, allocations: 0.9587 MB / 479.8 MB, free: 3.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.3361, allocations: 472 kB / 480.2 MB, free: 2.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/0.3365, allocations: 214.9 kB / 480.4 MB, free: 2.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3367, allocations: 357.9 kB / 480.8 MB, free: 2.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.3378, allocations: 0.6935 MB / 481.5 MB, free: 1.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.339, allocations: 0.8629 MB / 482.3 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.3413, allocations: 1.608 MB / 484 MB, free: 14.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.3413, allocations: 7.875 kB / 484 MB, free: 14.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003881/0.3452, allocations: 2.283 MB / 486.2 MB, free: 12.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3452, allocations: 8 kB / 486.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3452, allocations: 7.938 kB / 486.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/0.3479, allocations: 0.8272 MB / 487.1 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/0.3487, allocations: 203.7 kB / 487.3 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/0.3612, allocations: 11.49 MB / 498.8 MB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.3623, allocations: 55.91 kB / 498.8 MB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/0.3624, allocations: 40 kB / 498.9 MB, free: 15.37 MB / 414.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.001329/0.3637, allocations: 0.8253 MB / 499.7 MB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.364, allocations: 167 kB / 499.9 MB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/0.3678, allocations: 2.253 MB / 0.4903 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.3679, allocations: 15.98 kB / 0.4904 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3679, allocations: 4 kB / 0.4904 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.3679, allocations: 3.984 kB / 0.4904 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00746/0.3753, allocations: 4.707 MB / 0.495 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3753, allocations: 0 / 0.495 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.376, allocations: 159.8 kB / 0.4951 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002574/0.3786, allocations: 0.8075 MB / 0.4959 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.015e-05/0.3787, allocations: 31.98 kB / 0.4959 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.3909, allocations: 11.39 MB / 0.5071 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.3909, allocations: 7.969 kB / 0.5071 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00501/0.3959, allocations: 3.22 MB / 0.5102 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008286/0.3967, allocations: 408 kB / 0.5106 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.3969, allocations: 31.98 kB / 0.5106 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/0.3977, allocations: 71.94 kB / 0.5107 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.3979, allocations: 113.1 kB / 0.5108 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.227e-05/0.398, allocations: 32 kB / 0.5108 GB, free: 6.379 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001524/0.3995, allocations: 1.06 MB / 0.5119 GB, free: 5.316 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3995, allocations: 0 / 0.5119 GB, free: 5.316 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001697/0.4012, allocations: 0.5078 MB / 0.5124 GB, free: 4.809 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.0004693/0.4017, allocations: 218 kB / 0.5126 GB, free: 4.594 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003682/0.4054, allocations: 2.342 MB / 0.5149 GB, free: 2.195 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4054, allocations: 0 / 0.5149 GB, free: 2.195 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00233/0.4077, allocations: 1.594 MB / 0.5164 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.4097, allocations: 0.5033 MB / 0.5169 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008882/0.4186, allocations: 4.74 MB / 0.5215 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00214/0.4208, allocations: 2.039 MB / 0.5235 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001049/0.4218, allocations: 313.5 kB / 0.5238 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.4221, allocations: 95.42 kB / 0.5239 GB, free: 8.785 MB / 446.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4221, allocations: 0 / 0.5239 GB, free: 8.785 MB / 446.1 MB Notification: Performance of Templates: time 0.251/0.6731, allocations: 33.72 MB / 0.5568 GB, free: 92.39 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.783909312449396]