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.001266/0.001266, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001386/0.001386, allocations: 181.5 kB / 23.71 MB, free: 4.695 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.4/1.4, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.001454/0.001454, allocations: 51.92 kB / 370.9 MB, free: 9.316 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2532, allocations: 52.19 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009128/0.2623, allocations: 6.938 MB / 430.1 MB, free: 7.695 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004568/0.2669, allocations: 2.278 MB / 432.3 MB, free: 5.41 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007449/0.2676, allocations: 63.56 kB / 432.4 MB, free: 5.348 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001134/0.2687, allocations: 472.6 kB / 432.9 MB, free: 4.887 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001802/0.2705, allocations: 0.6875 MB / 433.6 MB, free: 4.195 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.2711, allocations: 275.6 kB / 433.8 MB, free: 3.926 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003243/0.2743, allocations: 2.84 MB / 436.7 MB, free: 1.074 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.2762, allocations: 1.364 MB / 438 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.2785, allocations: 1.344 MB / 439.4 MB, free: 14.31 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.2804, allocations: 1.576 MB / 441 MB, free: 12.73 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0005039/0.281, allocations: 352 kB / 441.3 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008313/0.2818, allocations: 435.8 kB / 441.7 MB, free: 11.96 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0008945/0.2827, allocations: 0.8999 MB / 442.6 MB, free: 11.05 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001664/0.2843, allocations: 1.532 MB / 444.2 MB, free: 9.516 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004904/0.2892, allocations: 4.629 MB / 448.8 MB, free: 4.871 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2892, allocations: 0 / 448.8 MB, free: 4.871 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.402e-06/0.2892, allocations: 0 / 448.8 MB, free: 4.871 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 4.703e-05/0.2893, allocations: 0 / 448.8 MB, free: 4.871 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.006113/0.2954, allocations: 2.963 MB / 451.7 MB, free: 1.859 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2955, allocations: 16.03 kB / 451.8 MB, free: 1.844 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007972/0.2962, allocations: 319.1 kB / 452.1 MB, free: 1.531 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.2994, allocations: 1.603 MB / 453.7 MB, free: 15.88 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.2995, allocations: 160.4 kB / 453.8 MB, free: 15.72 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.2999, allocations: 219.9 kB / 454 MB, free: 15.51 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.005289/0.3051, allocations: 3.182 MB / 457.2 MB, free: 12.24 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.3052, allocations: 0 / 457.2 MB, free: 12.24 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.3054, allocations: 88 kB / 457.3 MB, free: 12.15 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.3055, allocations: 116.4 kB / 457.4 MB, free: 12.04 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004624/0.3101, allocations: 2.73 MB / 460.2 MB, free: 9.289 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/0.3241, allocations: 8.699 MB / 468.9 MB, free: 420 kB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003039/0.3271, allocations: 1.927 MB / 470.8 MB, free: 14.5 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.3291, allocations: 1.234 MB / 472 MB, free: 13.27 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.3293, allocations: 45.22 kB / 472.1 MB, free: 13.23 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.3293, allocations: 47.88 kB / 472.1 MB, free: 13.17 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=128): time 3.176e-06/0.3293, allocations: 0 / 472.1 MB, free: 13.17 MB / 382.1 MB
Notification: Performance of matching and sorting (n=132): time 0.01081/0.3401, allocations: 5.318 MB / 477.4 MB, free: 7.816 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3402, allocations: 64.72 kB / 477.5 MB, free: 7.742 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.3424, allocations: 1.49 MB / 479 MB, free: 6.234 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.435e-05/0.3425, allocations: 45.7 kB / 479 MB, free: 6.184 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0007908/0.3433, allocations: 0.9627 MB / 480 MB, free: 5.211 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004013/0.3437, allocations: 468 kB / 480.4 MB, free: 4.75 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.3441, allocations: 218.9 kB / 480.7 MB, free: 4.531 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.000183/0.3442, allocations: 357.9 kB / 481 MB, free: 4.176 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.3454, allocations: 0.6935 MB / 481.7 MB, free: 3.48 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.3467, allocations: 0.8629 MB / 482.6 MB, free: 2.57 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.3491, allocations: 1.604 MB / 484.2 MB, free: 0.918 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.3491, allocations: 3.938 kB / 484.2 MB, free: 0.9141 MB / 382.1 MB
Notification: Performance of matching and sorting (n=158) (initialization): time 0.00434/0.3534, allocations: 2.291 MB / 486.5 MB, free: 14.6 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3534, allocations: 8 kB / 486.5 MB, free: 14.59 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3535, allocations: 4 kB / 486.5 MB, free: 14.59 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/0.3562, allocations: 0.8188 MB / 487.3 MB, free: 13.76 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000829/0.357, allocations: 203.8 kB / 487.5 MB, free: 13.56 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.3705, allocations: 11.09 MB / 498.6 MB, free: 2.023 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.3716, allocations: 52.03 kB / 498.6 MB, free: 1.973 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/0.3717, allocations: 43.98 kB / 498.7 MB, free: 1.93 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.001375/0.3731, allocations: 0.8174 MB / 499.5 MB, free: 1.102 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/0.3734, allocations: 171 kB / 499.7 MB, free: 0.9336 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004184/0.3776, allocations: 2.253 MB / 0.4901 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.3776, allocations: 12 kB / 0.4902 GB, free: 14.64 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3776, allocations: 4 kB / 0.4902 GB, free: 14.64 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3776, allocations: 3.984 kB / 0.4902 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008444/0.386, allocations: 4.687 MB / 0.4947 GB, free: 9.859 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.386, allocations: 0 / 0.4947 GB, free: 9.859 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.3868, allocations: 159.9 kB / 0.4949 GB, free: 9.703 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/0.3895, allocations: 0.8115 MB / 0.4957 GB, free: 8.879 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.179e-05/0.3896, allocations: 31.98 kB / 0.4957 GB, free: 8.848 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/0.4031, allocations: 10.97 MB / 0.5064 GB, free: 13.41 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/0.4031, allocations: 11.91 kB / 0.5064 GB, free: 13.4 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00574/0.4088, allocations: 3.217 MB / 0.5096 GB, free: 10.14 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001418/0.4103, allocations: 338.9 kB / 0.5099 GB, free: 9.809 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.4105, allocations: 32 kB / 0.5099 GB, free: 9.777 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008272/0.4113, allocations: 71.94 kB / 0.51 GB, free: 9.707 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003491/0.4117, allocations: 121 kB / 0.5101 GB, free: 9.586 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.666e-05/0.4118, allocations: 39.98 kB / 0.5102 GB, free: 9.547 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.001641/0.4134, allocations: 1.056 MB / 0.5112 GB, free: 8.488 MB / 430.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4134, allocations: 0 / 0.5112 GB, free: 8.488 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.001843/0.4153, allocations: 0.5156 MB / 0.5117 GB, free: 7.973 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.000535/0.4158, allocations: 199.5 kB / 0.5119 GB, free: 7.781 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.004071/0.4199, allocations: 2.342 MB / 0.5142 GB, free: 5.387 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4199, allocations: 8 kB / 0.5142 GB, free: 5.379 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002583/0.4225, allocations: 1.589 MB / 0.5157 GB, free: 3.742 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.4247, allocations: 0.499 MB / 0.5162 GB, free: 3.246 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00834/0.433, allocations: 4.731 MB / 0.5208 GB, free: 14.47 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/0.435, allocations: 2.035 MB / 0.5228 GB, free: 12.39 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0009403/0.4359, allocations: 309.4 kB / 0.5231 GB, free: 12.09 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.4362, allocations: 99.42 kB / 0.5232 GB, free: 11.99 MB / 446.1 MB
Notification: Performance of SimCode: time 1.483e-06/0.4362, allocations: 0 / 0.5232 GB, free: 11.99 MB / 446.1 MB
Notification: Performance of Templates: time 0.2496/0.6857, allocations: 34.21 MB / 0.5566 GB, free: 94.26 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.938957370817661]