Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001836/0.001836, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002398/0.002398, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 230.3 MB / 258 MB, free: 8.281 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse")
translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.89 kB / 378.8 MB, free: 2.805 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2602, allocations: 53.37 MB / 432.1 MB, free: 7.098 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005585/0.2657, allocations: 3.757 MB / 435.9 MB, free: 3.324 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002499/0.2682, allocations: 1.095 MB / 437 MB, free: 2.227 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003668/0.2686, allocations: 19.88 kB / 437 MB, free: 2.207 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00028/0.2689, allocations: 111.1 kB / 437.1 MB, free: 2.098 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008059/0.2697, allocations: 250.5 kB / 437.4 MB, free: 1.852 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.2701, allocations: 159.7 kB / 437.5 MB, free: 1.695 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001058/0.2711, allocations: 0.9767 MB / 438.5 MB, free: 0.7148 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005201/0.2716, allocations: 359.3 kB / 438.8 MB, free: 348 kB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005663/0.2722, allocations: 422.6 kB / 439.3 MB, free: 15.93 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006619/0.2729, allocations: 0.5058 MB / 439.8 MB, free: 15.42 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.273, allocations: 104 kB / 439.9 MB, free: 15.32 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.2732, allocations: 108 kB / 440 MB, free: 15.21 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.2735, allocations: 283.1 kB / 440.2 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.2741, allocations: 477.8 kB / 440.7 MB, free: 14.46 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2754, allocations: 1.31 MB / 442 MB, free: 13.16 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2754, allocations: 0 / 442 MB, free: 13.16 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.012e-06/0.2754, allocations: 0 / 442 MB, free: 13.16 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.25e-05/0.2754, allocations: 0 / 442 MB, free: 13.16 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: 166
 * Number of variables: 166
Notification: Performance of Generate backend data structure: time 0.002594/0.278, allocations: 1.322 MB / 443.3 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2781, allocations: 12.03 kB / 443.4 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004822/0.2786, allocations: 132.3 kB / 443.5 MB, free: 11.64 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.2797, allocations: 0.597 MB / 444.1 MB, free: 11.02 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.2798, allocations: 53.25 kB / 444.1 MB, free: 10.97 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.2799, allocations: 64 kB / 444.2 MB, free: 10.91 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.2816, allocations: 0.915 MB / 445.1 MB, free: 9.973 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.2816, allocations: 7.953 kB / 445.1 MB, free: 9.965 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.981e-05/0.2817, allocations: 35.97 kB / 445.2 MB, free: 9.93 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.383e-05/0.2817, allocations: 29.31 kB / 445.2 MB, free: 9.898 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.2831, allocations: 0.7897 MB / 446 MB, free: 9.109 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/0.2875, allocations: 2.737 MB / 448.7 MB, free: 6.273 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008399/0.2884, allocations: 0.4886 MB / 449.2 MB, free: 5.781 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/0.289, allocations: 324.3 kB / 449.5 MB, free: 5.465 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.289, allocations: 4.328 kB / 449.5 MB, free: 5.461 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006491/0.2896, allocations: 381.8 kB / 449.9 MB, free: 5.066 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.2896, allocations: 0 / 449.9 MB, free: 5.066 MB / 350.1 MB
Notification: Performance of matching and sorting (n=43): time 0.002855/0.2925, allocations: 1.111 MB / 451 MB, free: 3.945 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.2926, allocations: 118.6 kB / 451.1 MB, free: 3.805 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/0.2934, allocations: 0.5801 MB / 451.7 MB, free: 3.215 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.2935, allocations: 41.73 kB / 451.7 MB, free: 3.168 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.2938, allocations: 368.5 kB / 452.1 MB, free: 2.805 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.2939, allocations: 146.8 kB / 452.2 MB, free: 2.66 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.2941, allocations: 94.08 kB / 452.3 MB, free: 2.562 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001936/0.2943, allocations: 374.7 kB / 452.7 MB, free: 2.188 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.2947, allocations: 212.9 kB / 452.9 MB, free: 1.977 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.2952, allocations: 357.1 kB / 453.3 MB, free: 1.57 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008889/0.2961, allocations: 0.5739 MB / 453.8 MB, free: 0.9414 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2961, allocations: 0 / 453.8 MB, free: 0.9414 MB / 350.1 MB
Notification: Performance of matching and sorting (n=57) (initialization): time 0.001404/0.2975, allocations: 0.7515 MB / 454.6 MB, free: 184 kB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.2975, allocations: 8 kB / 454.6 MB, free: 176 kB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.2975, allocations: 4 kB / 454.6 MB, free: 172 kB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005715/0.2981, allocations: 200.8 kB / 454.8 MB, free: 15.97 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.2984, allocations: 79.89 kB / 454.9 MB, free: 15.89 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.3019, allocations: 2.846 MB / 457.7 MB, free: 12.94 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.3023, allocations: 55.75 kB / 457.8 MB, free: 12.88 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.3024, allocations: 16 kB / 457.8 MB, free: 12.87 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 18
 * Number of states: 0 ()
 * Number of discrete variables: 12 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (44):
 * Single equations (assignments): 43
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(3,11)}
Notification: Performance of prepare postOptimizeDAE: time 0.0004997/0.3029, allocations: 333.5 kB / 458.1 MB, free: 12.53 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/0.303, allocations: 55.67 kB / 458.2 MB, free: 12.48 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.3031, allocations: 69.42 kB / 458.2 MB, free: 12.41 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.3031, allocations: 8 kB / 458.2 MB, free: 12.4 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3031, allocations: 3.938 kB / 458.2 MB, free: 12.39 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3031, allocations: 3.984 kB / 458.3 MB, free: 12.39 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.3057, allocations: 1.599 MB / 459.9 MB, free: 10.73 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3057, allocations: 0 / 459.9 MB, free: 10.73 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.306, allocations: 51.91 kB / 459.9 MB, free: 10.68 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/0.3065, allocations: 192.7 kB / 460.1 MB, free: 10.49 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.3065, allocations: 8 kB / 460.1 MB, free: 10.48 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/0.3099, allocations: 2.82 MB / 462.9 MB, free: 7.547 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3099, allocations: 4 kB / 462.9 MB, free: 7.543 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.3117, allocations: 1.096 MB / 464 MB, free: 6.418 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.312, allocations: 123.5 kB / 464.1 MB, free: 6.297 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/0.3121, allocations: 15.98 kB / 464.2 MB, free: 6.281 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.3124, allocations: 23.92 kB / 464.2 MB, free: 6.258 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.3126, allocations: 55.62 kB / 464.2 MB, free: 6.203 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.3126, allocations: 15.98 kB / 464.2 MB, free: 6.188 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0005973/0.3132, allocations: 426.8 kB / 464.7 MB, free: 5.773 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.3132, allocations: 0 / 464.7 MB, free: 5.773 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0007461/0.314, allocations: 207.5 kB / 464.9 MB, free: 5.57 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x)
 * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off)
 * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (30):
 * Single equations (assignments): 26
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 3
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(3,11)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001723/0.3141, allocations: 119.4 kB / 465 MB, free: 5.445 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001341/0.3155, allocations: 0.7135 MB / 465.7 MB, free: 4.719 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3155, allocations: 0 / 465.7 MB, free: 4.719 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007308/0.3162, allocations: 454.2 kB / 466.1 MB, free: 4.262 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.3169, allocations: 154.9 kB / 466.3 MB, free: 4.113 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.3194, allocations: 1.479 MB / 467.8 MB, free: 2.605 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/0.3202, allocations: 1.082 MB / 468.9 MB, free: 1.496 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0002743/0.3205, allocations: 96.78 kB / 468.9 MB, free: 1.402 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.3206, allocations: 39.44 kB / 469 MB, free: 1.363 MB / 366.1 MB
Notification: Performance of SimCode: time 8.22e-07/0.3206, allocations: 4 kB / 469 MB, free: 1.359 MB / 366.1 MB
Notification: Performance of Templates: time 0.02005/0.3406, allocations: 10.61 MB / 479.6 MB, free: 6.887 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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: 4.81486748252064]