Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001363/0.001363, 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.001376/0.001376, allocations: 183.7 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.456/1.456, allocations: 225.6 MB / 252.5 MB, free: 13 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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse")
translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 39.92 kB / 371 MB, free: 9.316 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2714, allocations: 52.19 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.008577/0.28, allocations: 3.758 MB / 426.9 MB, free: 10.89 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002916/0.2829, allocations: 0.9267 MB / 427.8 MB, free: 9.961 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006439/0.2835, allocations: 11.94 kB / 427.8 MB, free: 9.949 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004687/0.284, allocations: 83.22 kB / 427.9 MB, free: 9.867 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007253/0.2847, allocations: 142.7 kB / 428.1 MB, free: 9.727 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006488/0.2854, allocations: 159.8 kB / 428.2 MB, free: 9.57 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001282/0.2867, allocations: 0.6148 MB / 428.8 MB, free: 8.953 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004764/0.2871, allocations: 148.6 kB / 429 MB, free: 8.801 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000513/0.2877, allocations: 235.1 kB / 429.2 MB, free: 8.57 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.2882, allocations: 250.9 kB / 429.4 MB, free: 8.324 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.2884, allocations: 56 kB / 429.5 MB, free: 8.27 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.2886, allocations: 56 kB / 429.6 MB, free: 8.215 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.2887, allocations: 115.6 kB / 429.7 MB, free: 8.102 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005754/0.2893, allocations: 274.7 kB / 429.9 MB, free: 7.832 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001187/0.2905, allocations: 0.6279 MB / 430.6 MB, free: 7.203 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2905, allocations: 0 / 430.6 MB, free: 7.203 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.443e-06/0.2905, allocations: 0 / 430.6 MB, free: 7.203 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 2.663e-05/0.2905, allocations: 4 kB / 430.6 MB, free: 7.199 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 103
 * Number of variables: 103
Notification: Performance of Generate backend data structure: time 0.002347/0.2929, allocations: 0.8361 MB / 431.4 MB, free: 6.32 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2929, allocations: 16.03 kB / 431.4 MB, free: 6.305 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.2931, allocations: 60.56 kB / 431.5 MB, free: 6.246 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.2938, allocations: 307.2 kB / 431.8 MB, free: 5.922 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.2939, allocations: 33.38 kB / 431.8 MB, free: 5.891 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.294, allocations: 44.38 kB / 431.9 MB, free: 5.848 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.2952, allocations: 473.5 kB / 432.3 MB, free: 5.359 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.2952, allocations: 0 / 432.3 MB, free: 5.359 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.2953, allocations: 19.94 kB / 432.3 MB, free: 5.34 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.2953, allocations: 15.94 kB / 432.4 MB, free: 5.324 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.2963, allocations: 327.7 kB / 432.7 MB, free: 5.004 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00381/0.3001, allocations: 1.79 MB / 434.5 MB, free: 3.117 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3012, allocations: 351.9 kB / 434.8 MB, free: 2.766 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000835/0.3021, allocations: 257.2 kB / 435.1 MB, free: 2.512 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.3021, allocations: 8.328 kB / 435.1 MB, free: 2.504 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006299/0.3027, allocations: 265.2 kB / 435.3 MB, free: 2.227 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.3027, allocations: 0 / 435.3 MB, free: 2.227 MB / 334.1 MB
Notification: Performance of matching and sorting (n=43): time 0.003398/0.3061, allocations: 0.7759 MB / 436.1 MB, free: 1.441 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.3062, allocations: 81.11 kB / 436.2 MB, free: 1.344 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.3067, allocations: 316.5 kB / 436.5 MB, free: 1.027 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.3068, allocations: 37.7 kB / 436.5 MB, free: 0.9844 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.307, allocations: 220.7 kB / 436.7 MB, free: 0.7656 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.3072, allocations: 142.8 kB / 436.9 MB, free: 0.625 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.3074, allocations: 86.14 kB / 437 MB, free: 0.5352 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002047/0.3076, allocations: 354.7 kB / 437.3 MB, free: 184 kB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.3079, allocations: 121 kB / 437.4 MB, free: 64 kB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/0.3084, allocations: 244.4 kB / 437.7 MB, free: 15.77 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008631/0.3093, allocations: 387.1 kB / 438 MB, free: 15.34 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3093, allocations: 0 / 438 MB, free: 15.34 MB / 350.1 MB
Notification: Performance of matching and sorting (n=57) (initialization): time 0.001487/0.3108, allocations: 0.494 MB / 438.5 MB, free: 14.83 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3108, allocations: 11.94 kB / 438.6 MB, free: 14.82 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.3108, allocations: 7.984 kB / 438.6 MB, free: 14.81 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.3114, allocations: 152.9 kB / 438.7 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.3118, allocations: 63.84 kB / 438.8 MB, free: 14.6 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00444/0.3162, allocations: 2.429 MB / 441.2 MB, free: 12.06 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.3167, allocations: 43.73 kB / 441.2 MB, free: 12.02 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.3167, allocations: 23.94 kB / 441.3 MB, free: 11.99 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 17
 * Number of states: 0 ()
 * Number of discrete variables: 13 (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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (40):
 * Single equations (assignments): 39
 * 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
   {(4,14)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003693/0.3171, allocations: 179.3 kB / 441.4 MB, free: 11.81 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.3172, allocations: 43.7 kB / 441.5 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.3174, allocations: 48.3 kB / 441.5 MB, free: 11.71 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3174, allocations: 4 kB / 441.5 MB, free: 11.71 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3174, allocations: 0 / 441.5 MB, free: 11.71 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3174, allocations: 4 kB / 441.5 MB, free: 11.71 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.3197, allocations: 0.9806 MB / 442.5 MB, free: 10.67 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.3197, allocations: 7.938 kB / 442.5 MB, free: 10.66 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.32, allocations: 36.06 kB / 442.6 MB, free: 10.63 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006151/0.3206, allocations: 148.8 kB / 442.7 MB, free: 10.48 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.3206, allocations: 8 kB / 442.7 MB, free: 10.47 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004412/0.325, allocations: 2.437 MB / 445.2 MB, free: 7.926 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.325, allocations: 0 / 445.2 MB, free: 7.926 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.327, allocations: 0.7134 MB / 445.9 MB, free: 7.184 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.3273, allocations: 83.56 kB / 445.9 MB, free: 7.102 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.3274, allocations: 8 kB / 446 MB, free: 7.094 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.3278, allocations: 16 kB / 446 MB, free: 7.078 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.3279, allocations: 39.86 kB / 446 MB, free: 7.039 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.328, allocations: 16 kB / 446 MB, free: 7.023 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0003759/0.3283, allocations: 215.1 kB / 446.2 MB, free: 6.816 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.21e-07/0.3283, allocations: 4 kB / 446.2 MB, free: 6.812 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0009644/0.3293, allocations: 143.8 kB / 446.4 MB, free: 6.672 MB / 350.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 (26):
 * Single equations (assignments): 22
 * 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
   {(4,14)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.000208/0.3295, allocations: 118.8 kB / 446.5 MB, free: 6.551 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001573/0.3311, allocations: 0.5296 MB / 447 MB, free: 6.008 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.3311, allocations: 4.25 kB / 447 MB, free: 6.004 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008337/0.3319, allocations: 362.4 kB / 447.4 MB, free: 5.637 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.3327, allocations: 81.27 kB / 447.5 MB, free: 5.559 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.3355, allocations: 0.8808 MB / 448.3 MB, free: 4.645 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.3362, allocations: 0.8279 MB / 449.2 MB, free: 3.793 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0002358/0.3364, allocations: 39.3 kB / 449.2 MB, free: 3.75 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.3365, allocations: 31.42 kB / 449.2 MB, free: 3.719 MB / 350.1 MB
Notification: Performance of SimCode: time 6.41e-07/0.3365, allocations: 0 / 449.2 MB, free: 3.719 MB / 350.1 MB
Notification: Performance of Templates: time 0.01927/0.3558, allocations: 7.329 MB / 456.6 MB, free: 12.53 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.63102515693754]