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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000947/0.000947, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 221.3 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008076/0.0008076, allocations: 91.8 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.126e-05, allocations: 4 kB / 343.8 MB, free: 4.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08552, allocations: 50.41 MB / 394.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.272/0.3575, allocations: 82.04 MB / 476.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.3577, allocations: 89.22 kB / 476.4 MB, free: 5.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01786/0.3756, allocations: 7.303 MB / 483.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3756, allocations: 4 kB / 483.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.3757, allocations: 8.219 kB / 483.7 MB, free: 14.04 MB / 362.7 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.000872/0.3766, allocations: 0.6545 MB / 484.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3766, allocations: 8.031 kB / 484.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.766e-05/0.3767, allocations: 55.34 kB / 484.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.3771, allocations: 359 kB / 484.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.3772, allocations: 33 kB / 484.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.3772, allocations: 47.94 kB / 484.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/0.3779, allocations: 445.2 kB / 485.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3779, allocations: 0 / 485.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.378, allocations: 19.95 kB / 485.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.378, allocations: 12 kB / 485.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.3785, allocations: 303 kB / 485.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.3806, allocations: 1.87 MB / 487.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.3812, allocations: 0.5944 MB / 488.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/0.3818, allocations: 276.6 kB / 488.3 MB, free: 9.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.3818, allocations: 8.312 kB / 488.4 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.3822, allocations: 265.2 kB / 488.6 MB, free: 8.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.3822, allocations: 4 kB / 488.6 MB, free: 8.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007867/0.383, allocations: 441.7 kB / 489 MB, free: 8.383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.383, allocations: 81.11 kB / 489.1 MB, free: 8.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.3833, allocations: 274.7 kB / 489.4 MB, free: 8.012 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.3833, allocations: 41.64 kB / 489.4 MB, free: 7.965 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3835, allocations: 216.4 kB / 489.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/0.3836, allocations: 134.1 kB / 489.8 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.3836, allocations: 8 kB / 489.8 MB, free: 7.609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3837, allocations: 346.8 kB / 490.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.3839, allocations: 109.1 kB / 490.2 MB, free: 7.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.3841, allocations: 236.2 kB / 490.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.3844, allocations: 123.9 kB / 490.6 MB, free: 6.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3844, allocations: 4 kB / 490.6 MB, free: 6.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007148/0.3851, allocations: 0.4897 MB / 491.1 MB, free: 6.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3851, allocations: 8 kB / 491.1 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3851, allocations: 4 kB / 491.1 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.3855, allocations: 149.1 kB / 491.2 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.3857, allocations: 63.84 kB / 491.3 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.3881, allocations: 2.304 MB / 493.6 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.3883, allocations: 39.62 kB / 493.6 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.3884, allocations: 20 kB / 493.7 MB, free: 3.527 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.3885, allocations: 133 kB / 493.8 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.3886, allocations: 51.47 kB / 493.8 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.765e-05/0.3887, allocations: 48.08 kB / 493.9 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3887, allocations: 4 kB / 493.9 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3887, allocations: 0 / 493.9 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3887, allocations: 7.922 kB / 493.9 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.39, allocations: 1.008 MB / 494.9 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.39, allocations: 4 kB / 494.9 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.3902, allocations: 39.91 kB / 494.9 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003475/0.3905, allocations: 140.7 kB / 495.1 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.3906, allocations: 8 kB / 495.1 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/0.3928, allocations: 2.295 MB / 497.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3928, allocations: 0 / 497.4 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/0.3938, allocations: 0.6907 MB / 498.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.394, allocations: 152.6 kB / 498.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.394, allocations: 8 kB / 498.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3943, allocations: 19.98 kB / 498.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.3944, allocations: 35.89 kB / 498.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.3944, allocations: 15.98 kB / 498.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3946, allocations: 218.2 kB / 498.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3946, allocations: 0 / 498.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005876/0.3952, allocations: 147.7 kB / 498.7 MB, free: 14.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001593/0.3954, allocations: 123.4 kB / 498.8 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008601/0.3963, allocations: 0.5096 MB / 499.3 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3963, allocations: 0 / 499.3 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.3967, allocations: 366.9 kB / 499.6 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.3971, allocations: 78.38 kB / 499.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3982, allocations: 0.5999 MB / 0.4886 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.3986, allocations: 0.8399 MB / 0.4894 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.3987, allocations: 39.39 kB / 0.4895 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.3988, allocations: 27.44 kB / 0.4895 GB, free: 11.62 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3988, allocations: 3.938 kB / 0.4895 GB, free: 11.61 MB / 378.7 MB Notification: Performance of Templates: time 0.01008/0.4089, allocations: 6.196 MB / 0.4955 GB, free: 5.543 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches