Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001836/0.001836, allocations: 112.2 kB / 20.43 MB, free: 1.465 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.002104/0.002104, allocations: 184.2 kB / 23.71 MB, free: 4.715 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.446/1.446, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 51.92 kB / 371 MB, free: 9.34 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.268, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01292/0.2809, allocations: 10.8 MB / 433.9 MB, free: 3.855 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006833/0.2878, allocations: 3.197 MB / 437.1 MB, free: 0.6523 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003615/0.2914, allocations: 111.2 kB / 437.3 MB, free: 0.543 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003229/0.2946, allocations: 0.7293 MB / 438 MB, free: 15.81 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005028/0.2996, allocations: 1.189 MB / 439.2 MB, free: 14.61 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3009, allocations: 483.3 kB / 439.6 MB, free: 14.14 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006203/0.3071, allocations: 5.128 MB / 444.8 MB, free: 8.992 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003294/0.3104, allocations: 2.507 MB / 447.3 MB, free: 6.398 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004365/0.3148, allocations: 2.435 MB / 449.7 MB, free: 3.98 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.004726/0.3195, allocations: 2.83 MB / 452.5 MB, free: 1.141 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.00114/0.3207, allocations: 0.6211 MB / 453.2 MB, free: 0.5195 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.3223, allocations: 0.7069 MB / 453.9 MB, free: 15.81 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001635/0.324, allocations: 1.652 MB / 455.5 MB, free: 14.16 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00467/0.3286, allocations: 2.762 MB / 458.3 MB, free: 11.38 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01119/0.3398, allocations: 8.44 MB / 466.7 MB, free: 2.914 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.3398, allocations: 0 / 466.7 MB, free: 2.914 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.874e-06/0.3398, allocations: 0 / 466.7 MB, free: 2.914 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 0.0002074/0.34, allocations: 0 / 466.7 MB, free: 2.914 MB / 366.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.01238/0.3524, allocations: 5.147 MB / 471.9 MB, free: 13.71 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3524, allocations: 12.03 kB / 471.9 MB, free: 13.7 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.3539, allocations: 0.5681 MB / 472.5 MB, free: 13.12 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005557/0.3595, allocations: 2.822 MB / 475.3 MB, free: 10.23 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/0.3597, allocations: 291.8 kB / 475.6 MB, free: 9.949 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007747/0.3605, allocations: 387.9 kB / 475.9 MB, free: 9.57 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.3711, allocations: 5.801 MB / 481.7 MB, free: 3.684 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.175e-05/0.3712, allocations: 4 kB / 481.7 MB, free: 3.68 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004047/0.3716, allocations: 155.9 kB / 481.9 MB, free: 3.527 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002206/0.3718, allocations: 212 kB / 482.1 MB, free: 3.316 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009437/0.3812, allocations: 5.024 MB / 487.1 MB, free: 14.27 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02956/0.4108, allocations: 16.11 MB / 0.4914 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.006076/0.4169, allocations: 3.904 MB / 0.4953 GB, free: 10.08 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00421/0.4211, allocations: 2.45 MB / 0.4976 GB, free: 7.625 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.4213, allocations: 65.97 kB / 0.4977 GB, free: 7.562 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/0.4214, allocations: 56.56 kB / 0.4978 GB, free: 7.496 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=249): time 4.478e-06/0.4214, allocations: 0 / 0.4978 GB, free: 7.496 MB / 414.1 MB
Notification: Performance of matching and sorting (n=256): time 0.02274/0.4442, allocations: 10.04 MB / 0.5076 GB, free: 13.37 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.4442, allocations: 77.42 kB / 0.5076 GB, free: 13.28 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005542/0.4498, allocations: 2.628 MB / 0.5102 GB, free: 10.63 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002739/0.45, allocations: 65.7 kB / 0.5103 GB, free: 10.56 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.4518, allocations: 1.687 MB / 0.5119 GB, free: 8.855 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.4529, allocations: 0.887 MB / 0.5128 GB, free: 7.961 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008742/0.4538, allocations: 408.7 kB / 0.5132 GB, free: 7.555 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001767/0.4539, allocations: 309.1 kB / 0.5135 GB, free: 7.25 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/0.4565, allocations: 1.336 MB / 0.5148 GB, free: 5.91 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002822/0.4593, allocations: 1.658 MB / 0.5164 GB, free: 4.156 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005215/0.4645, allocations: 3.076 MB / 0.5194 GB, free: 0.957 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.4646, allocations: 0 / 0.5194 GB, free: 0.957 MB / 430.1 MB
Notification: Performance of matching and sorting (n=303) (initialization): time 0.009173/0.4737, allocations: 4.439 MB / 0.5237 GB, free: 12.44 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.4738, allocations: 16 kB / 0.5238 GB, free: 12.42 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/0.4738, allocations: 8 kB / 0.5238 GB, free: 12.41 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006689/0.4805, allocations: 1.639 MB / 0.5254 GB, free: 10.74 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.4824, allocations: 387.4 kB / 0.5257 GB, free: 10.36 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2599/0.7423, allocations: 24.71 MB / 0.5499 GB, free: 93.44 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/0.7448, allocations: 95.14 kB / 0.55 GB, free: 93.4 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003592/0.7451, allocations: 79.16 kB / 0.55 GB, free: 93.38 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.002737/0.7479, allocations: 1.403 MB / 0.5514 GB, free: 92.71 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008827/0.7487, allocations: 314.6 kB / 0.5517 GB, free: 92.7 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006816/0.7556, allocations: 4.341 MB / 0.5559 GB, free: 90.93 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.7556, allocations: 25.97 kB / 0.556 GB, free: 90.93 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.7556, allocations: 10.88 kB / 0.556 GB, free: 90.93 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.7556, allocations: 12.47 kB / 0.556 GB, free: 90.93 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.7692, allocations: 8.737 MB / 0.5645 GB, free: 85.25 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.7693, allocations: 3.5 kB / 0.5645 GB, free: 85.25 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.7704, allocations: 294.5 kB / 0.5648 GB, free: 84.97 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004839/0.7753, allocations: 1.619 MB / 0.5664 GB, free: 83.34 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/0.7755, allocations: 59.97 kB / 0.5664 GB, free: 83.28 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03096/0.8064, allocations: 24.44 MB / 0.5903 GB, free: 57.99 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8064, allocations: 4.031 kB / 0.5903 GB, free: 57.98 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.822, allocations: 6.077 MB / 0.5962 GB, free: 51.89 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.00478/0.8268, allocations: 0.6287 MB / 0.5969 GB, free: 51.26 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001836/0.8286, allocations: 55.98 kB / 0.5969 GB, free: 51.2 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/0.8316, allocations: 123.8 kB / 0.597 GB, free: 51.08 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000811/0.8324, allocations: 217.6 kB / 0.5972 GB, free: 50.87 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/0.8326, allocations: 71.98 kB / 0.5973 GB, free: 50.8 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.004542/0.8371, allocations: 1.84 MB / 0.5991 GB, free: 48.95 MB / 446.1 MB
Notification: Performance of sort global known variables: time 4.51e-07/0.8371, allocations: 4 kB / 0.5991 GB, free: 48.95 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.0077/0.8448, allocations: 0.9643 MB / 0.6 GB, free: 47.99 MB / 446.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.001235/0.8461, allocations: 247.1 kB / 0.6003 GB, free: 47.75 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.01185/0.8579, allocations: 4.767 MB / 0.6049 GB, free: 42.84 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 8.906e-06/0.8579, allocations: 5.5 kB / 0.6049 GB, free: 42.84 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.007662/0.8656, allocations: 3.27 MB / 0.6081 GB, free: 39.44 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007739/0.8733, allocations: 0.9608 MB / 0.6091 GB, free: 38.48 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/0.8927, allocations: 8.651 MB / 0.6175 GB, free: 29.84 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002932/0.8956, allocations: 3.173 MB / 0.6206 GB, free: 26.63 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001974/0.8976, allocations: 0.5724 MB / 0.6212 GB, free: 26.05 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/0.898, allocations: 171.4 kB / 0.6213 GB, free: 25.89 MB / 446.1 MB
Notification: Performance of SimCode: time 1.472e-06/0.898, allocations: 0 / 0.6213 GB, free: 25.89 MB / 446.1 MB
Notification: Performance of Templates: time 0.1092/1.007, allocations: 62.37 MB / 0.6823 GB, free: 12.26 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.5373946484178305]