Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.001655/0.001655, allocations: 106 kB / 21.18 MB, free: 0.707 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.001773/0.001773, allocations: 183.9 kB / 24.47 MB, free: 4.074 MB / 14.72 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 1.497/1.497, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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.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.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse")
translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 55.91 kB / 347.7 MB, free: 9.516 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3596, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01153/0.3712, allocations: 10.7 MB / 407.6 MB, free: 1.863 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008612/0.3798, allocations: 3.304 MB / 410.9 MB, free: 15.41 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003739/0.3835, allocations: 94 kB / 410.9 MB, free: 15.36 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00272/0.3862, allocations: 0.7344 MB / 411.7 MB, free: 14.95 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006129/0.3924, allocations: 1.188 MB / 412.9 MB, free: 14.21 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.3942, allocations: 0.5028 MB / 413.4 MB, free: 13.83 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.009476/0.4037, allocations: 5.282 MB / 418.7 MB, free: 10.64 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.005507/0.4092, allocations: 2.303 MB / 421 MB, free: 9.152 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.007138/0.4163, allocations: 2.43 MB / 423.4 MB, free: 7.785 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.007634/0.424, allocations: 2.819 MB / 426.2 MB, free: 5.898 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.002458/0.4264, allocations: 0.6222 MB / 426.8 MB, free: 5.277 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003612/0.43, allocations: 0.7068 MB / 427.5 MB, free: 4.57 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00261/0.4326, allocations: 1.64 MB / 429.2 MB, free: 2.926 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.006985/0.4396, allocations: 2.766 MB / 431.9 MB, free: 152 kB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01196/0.4516, allocations: 8.435 MB / 440.4 MB, free: 7.684 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.4516, allocations: 0 / 440.4 MB, free: 7.684 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.953e-06/0.4516, allocations: 0 / 440.4 MB, free: 7.684 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 0.0002965/0.4519, allocations: 0 / 440.4 MB, free: 7.684 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: 1046
 * Number of variables: 1046
Notification: Performance of Generate backend data structure: time 0.01399/0.4659, allocations: 5.132 MB / 445.5 MB, free: 2.496 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.4659, allocations: 15.92 kB / 445.5 MB, free: 2.48 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.4677, allocations: 0.572 MB / 446.1 MB, free: 1.906 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006032/0.4738, allocations: 2.592 MB / 448.7 MB, free: 15.25 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.474, allocations: 295.8 kB / 449 MB, free: 14.96 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007474/0.4748, allocations: 391.9 kB / 449.4 MB, free: 14.58 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/0.4871, allocations: 5.782 MB / 455.1 MB, free: 8.711 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.62e-05/0.4872, allocations: 11.94 kB / 455.2 MB, free: 8.699 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003809/0.4875, allocations: 156 kB / 455.3 MB, free: 8.547 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002455/0.4878, allocations: 212 kB / 455.5 MB, free: 8.336 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.4982, allocations: 5.012 MB / 460.5 MB, free: 3.305 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03574/0.5339, allocations: 16.12 MB / 476.6 MB, free: 2.898 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007154/0.5411, allocations: 3.915 MB / 480.6 MB, free: 15.1 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004322/0.5454, allocations: 2.45 MB / 483 MB, free: 12.64 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/0.5457, allocations: 61.97 kB / 483.1 MB, free: 12.59 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.499e-05/0.5458, allocations: 60.56 kB / 483.1 MB, free: 12.52 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=249): time 4.559e-06/0.5458, allocations: 0 / 483.1 MB, free: 12.52 MB / 398.1 MB
Notification: Performance of matching and sorting (n=256): time 0.02417/0.57, allocations: 10.04 MB / 493.2 MB, free: 2.391 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.5701, allocations: 81.42 kB / 493.2 MB, free: 2.297 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005731/0.5758, allocations: 2.628 MB / 495.9 MB, free: 15.65 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0004508/0.5763, allocations: 73.7 kB / 495.9 MB, free: 15.57 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00175/0.578, allocations: 1.667 MB / 497.6 MB, free: 13.89 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.001506/0.5795, allocations: 0.8869 MB / 498.5 MB, free: 12.99 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.5808, allocations: 412.7 kB / 498.9 MB, free: 12.58 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001797/0.581, allocations: 309 kB / 499.2 MB, free: 12.28 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003177/0.5842, allocations: 1.344 MB / 0.4888 GB, free: 10.93 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003373/0.5876, allocations: 1.65 MB / 0.4904 GB, free: 9.184 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006383/0.594, allocations: 3.083 MB / 0.4934 GB, free: 5.977 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.594, allocations: 4 kB / 0.4934 GB, free: 5.973 MB / 414.1 MB
Notification: Performance of matching and sorting (n=303) (initialization): time 0.009797/0.6038, allocations: 4.431 MB / 0.4978 GB, free: 1.461 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/0.6038, allocations: 8 kB / 0.4978 GB, free: 1.453 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.6038, allocations: 4 kB / 0.4978 GB, free: 1.449 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.005905/0.6097, allocations: 1.647 MB / 0.4994 GB, free: 15.77 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.6117, allocations: 387.5 kB / 0.4998 GB, free: 15.39 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03364/0.6453, allocations: 24.69 MB / 0.5239 GB, free: 5.566 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.6476, allocations: 99.86 kB / 0.524 GB, free: 5.469 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005168/0.6481, allocations: 72 kB / 0.524 GB, free: 5.398 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 28
 * Number of states: 0 ()
 * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198):
 * Single equations (assignments): 188
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 10
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 6 systems
   {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)}
Notification: Performance of prepare postOptimizeDAE: time 0.003428/0.6516, allocations: 1.411 MB / 0.5254 GB, free: 3.977 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/0.6526, allocations: 314.1 kB / 0.5257 GB, free: 3.668 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008822/0.6615, allocations: 4.345 MB / 0.53 GB, free: 15.23 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/0.6615, allocations: 24 kB / 0.53 GB, free: 15.21 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.682e-05/0.6615, allocations: 8 kB / 0.53 GB, free: 15.2 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.6615, allocations: 19.89 kB / 0.53 GB, free: 15.18 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/0.6786, allocations: 8.732 MB / 0.5385 GB, free: 6.352 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.6786, allocations: 0 / 0.5385 GB, free: 6.352 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.6799, allocations: 291.6 kB / 0.5388 GB, free: 6.066 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.005319/0.6852, allocations: 1.625 MB / 0.5404 GB, free: 4.41 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/0.6854, allocations: 59.98 kB / 0.5405 GB, free: 4.352 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2927/0.9781, allocations: 24.46 MB / 0.5643 GB, free: 139.3 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.9781, allocations: 4.938 kB / 0.5643 GB, free: 139.3 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/0.9914, allocations: 6.076 MB / 0.5703 GB, free: 137.5 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.002759/0.9942, allocations: 0.6242 MB / 0.5709 GB, free: 137.4 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007656/0.995, allocations: 54.53 kB / 0.5709 GB, free: 137.3 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.9965, allocations: 124.2 kB / 0.5711 GB, free: 137.3 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007355/0.9972, allocations: 223.3 kB / 0.5713 GB, free: 137.3 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/0.9974, allocations: 75.02 kB / 0.5713 GB, free: 137.3 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.003392/1.001, allocations: 1.85 MB / 0.5731 GB, free: 136.6 MB / 478.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/1.001, allocations: 0 / 0.5731 GB, free: 136.6 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.006147/1.007, allocations: 0.9562 MB / 0.5741 GB, free: 136.5 MB / 478.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i)
 * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (151):
 * Single equations (assignments): 141
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 10
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 6 systems
   {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/1.008, allocations: 231.8 kB / 0.5743 GB, free: 136.3 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.009454/1.018, allocations: 4.769 MB / 0.579 GB, free: 133.9 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.793e-05/1.018, allocations: 1.312 kB / 0.579 GB, free: 133.9 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.005735/1.023, allocations: 3.279 MB / 0.5822 GB, free: 132 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007626/1.031, allocations: 0.9632 MB / 0.5831 GB, free: 131.7 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/1.05, allocations: 8.634 MB / 0.5915 GB, free: 127.9 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003016/1.053, allocations: 3.174 MB / 0.5946 GB, free: 125.6 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.002143/1.055, allocations: 0.5741 MB / 0.5952 GB, free: 125.1 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/1.056, allocations: 167.3 kB / 0.5954 GB, free: 125 MB / 478.1 MB
Notification: Performance of SimCode: time 1.833e-06/1.056, allocations: 0 / 0.5954 GB, free: 125 MB / 478.1 MB
Notification: Performance of Templates: time 0.09673/1.152, allocations: 62.46 MB / 0.6563 GB, free: 62.61 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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: 7.642889906652272]