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.001378/0.001378, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.0009059/0.000906, allocations: 86.17 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.776e-05/1.78e-05, allocations: 4 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.08819, allocations: 50.43 MB / 387.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2897/0.3779, allocations: 81.37 MB / 468.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.3782, allocations: 83.94 kB / 468.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01776/0.396, allocations: 7.231 MB / 476.2 MB, free: 6.078 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.396, allocations: 0 / 476.2 MB, free: 6.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.155e-05/0.3961, allocations: 12 kB / 476.2 MB, free: 6.066 MB / 346.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.0009212/0.397, allocations: 0.6514 MB / 476.8 MB, free: 5.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.397, allocations: 12.03 kB / 476.8 MB, free: 5.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.725e-05/0.3972, allocations: 55.34 kB / 476.9 MB, free: 5.305 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.3976, allocations: 355.3 kB / 477.2 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3976, allocations: 12 kB / 477.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.3977, allocations: 31.98 kB / 477.3 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004735/0.3982, allocations: 274.6 kB / 477.6 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.3988, allocations: 394.6 kB / 477.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3988, allocations: 0 / 477.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.3988, allocations: 0 / 477.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.3988, allocations: 12 kB / 478 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.4009, allocations: 1.783 MB / 479.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/0.4015, allocations: 0.5747 MB / 480.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.4019, allocations: 209.9 kB / 480.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.4019, allocations: 8.312 kB / 480.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003611/0.4023, allocations: 257.1 kB / 480.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/0.4023, allocations: 0 / 480.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007763/0.4031, allocations: 405.8 kB / 481.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.4031, allocations: 85.11 kB / 481.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.4034, allocations: 249.1 kB / 481.5 MB, free: 436 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.4034, allocations: 29.7 kB / 481.5 MB, free: 400 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4035, allocations: 212.9 kB / 481.7 MB, free: 184 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.159e-05/0.4036, allocations: 126.1 kB / 481.9 MB, free: 56 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.4037, allocations: 0 / 481.9 MB, free: 56 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4038, allocations: 346.8 kB / 482.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.4039, allocations: 101.1 kB / 482.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.4042, allocations: 227 kB / 482.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.4044, allocations: 129.4 kB / 482.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4044, allocations: 4 kB / 482.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006611/0.4051, allocations: 449.1 kB / 483.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4051, allocations: 4 kB / 483.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4051, allocations: 4.438 kB / 483.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004046/0.4055, allocations: 146.2 kB / 483.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.4058, allocations: 63.91 kB / 483.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.408, allocations: 2.223 MB / 485.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.4083, allocations: 27.69 kB / 485.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.4083, allocations: 20 kB / 485.6 MB, free: 12.16 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.0001177/0.4084, allocations: 129.1 kB / 485.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.4085, allocations: 35.62 kB / 485.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.19e-05/0.4086, allocations: 39.53 kB / 485.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4086, allocations: 7.953 kB / 485.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.4086, allocations: 0 / 485.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4086, allocations: 0 / 485.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.4097, allocations: 0.8979 MB / 486.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.4098, allocations: 4 kB / 486.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.4099, allocations: 39.97 kB / 486.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003415/0.4103, allocations: 140.9 kB / 486.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.4103, allocations: 0 / 486.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.4125, allocations: 2.214 MB / 489.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4125, allocations: 0 / 489.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008562/0.4134, allocations: 0.6414 MB / 489.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4136, allocations: 156.5 kB / 489.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.4136, allocations: 4 kB / 489.9 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.4138, allocations: 7.984 kB / 489.9 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.4139, allocations: 35.91 kB / 489.9 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.414, allocations: 15.98 kB / 489.9 MB, free: 7.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001768/0.4142, allocations: 188.6 kB / 490.1 MB, free: 7.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4142, allocations: 3.938 kB / 490.1 MB, free: 7.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005628/0.4147, allocations: 131.7 kB / 490.2 MB, free: 7.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001634/0.4149, allocations: 115.2 kB / 490.4 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007189/0.4156, allocations: 489.3 kB / 490.8 MB, free: 6.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4156, allocations: 4.375 kB / 490.8 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.4161, allocations: 345.4 kB / 491.2 MB, free: 6.309 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.4164, allocations: 59.39 kB / 491.2 MB, free: 6.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.4176, allocations: 0.5752 MB / 491.8 MB, free: 5.652 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.4179, allocations: 0.8396 MB / 492.6 MB, free: 4.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.4181, allocations: 35.27 kB / 492.7 MB, free: 4.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.4181, allocations: 27.44 kB / 492.7 MB, free: 4.727 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4181, allocations: 3.938 kB / 492.7 MB, free: 4.723 MB / 362.7 MB Notification: Performance of Templates: time 0.009292/0.4274, allocations: 5.458 MB / 498.2 MB, free: 15.38 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