Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 200 kB / 18.11 MB, free: 3.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.5 MB / 245.4 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007736/0.0007735, allocations: 103.7 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000237/0.0002372, allocations: 11.98 kB / 358.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2481, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09425/0.3424, allocations: 82.88 MB / 492.3 MB, free: 8.637 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.3427, allocations: 83.95 kB / 492.4 MB, free: 8.555 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01866/0.3614, allocations: 7.475 MB / 499.8 MB, free: 1.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3614, allocations: 0 / 499.8 MB, free: 1.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.545e-05/0.3614, allocations: 16 kB / 499.8 MB, free: 1.016 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.001183/0.3626, allocations: 0.6996 MB / 0.4888 GB, free: 272 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3627, allocations: 12.03 kB / 0.4888 GB, free: 260 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.3629, allocations: 68.27 kB / 0.4889 GB, free: 192 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.3634, allocations: 380.7 kB / 0.4893 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.3634, allocations: 29.59 kB / 0.4893 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.3635, allocations: 52.38 kB / 0.4893 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008137/0.3643, allocations: 462 kB / 0.4898 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.3644, allocations: 3.938 kB / 0.4898 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.3644, allocations: 19.98 kB / 0.4898 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3644, allocations: 8 kB / 0.4898 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.365, allocations: 327.8 kB / 0.4901 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.3678, allocations: 1.884 MB / 0.492 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009451/0.3688, allocations: 0.6124 MB / 0.4926 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.3694, allocations: 280.6 kB / 0.4928 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.3695, allocations: 8.328 kB / 0.4928 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004912/0.37, allocations: 281.1 kB / 0.4931 GB, free: 11.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/0.37, allocations: 0 / 0.4931 GB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002351/0.3723, allocations: 0.8616 MB / 0.4939 GB, free: 10.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.3724, allocations: 85.11 kB / 0.494 GB, free: 10.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.3728, allocations: 320.5 kB / 0.4943 GB, free: 10.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.3729, allocations: 37.7 kB / 0.4944 GB, free: 10.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.3731, allocations: 212.4 kB / 0.4946 GB, free: 10.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.3732, allocations: 134.1 kB / 0.4947 GB, free: 9.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.3732, allocations: 12 kB / 0.4947 GB, free: 9.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3733, allocations: 346.8 kB / 0.495 GB, free: 9.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.3735, allocations: 117.1 kB / 0.4951 GB, free: 9.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.3738, allocations: 260 kB / 0.4954 GB, free: 9.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.3744, allocations: 365.9 kB / 0.4957 GB, free: 8.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3744, allocations: 4 kB / 0.4957 GB, free: 8.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008376/0.3752, allocations: 0.5088 MB / 0.4962 GB, free: 8.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3753, allocations: 4 kB / 0.4962 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3753, allocations: 7.984 kB / 0.4963 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/0.3757, allocations: 149.1 kB / 0.4964 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.376, allocations: 67.78 kB / 0.4965 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.3786, allocations: 2.306 MB / 0.4987 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.3789, allocations: 43.62 kB / 0.4988 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.379, allocations: 16.14 kB / 0.4988 GB, free: 5.508 MB / 378.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 () * Number of clocked 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.000243/0.3792, allocations: 193.7 kB / 0.499 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.3793, allocations: 39.53 kB / 0.499 GB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-05/0.3794, allocations: 48.41 kB / 0.499 GB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3794, allocations: 4 kB / 0.499 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.3794, allocations: 0 / 0.499 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3794, allocations: 0 / 0.499 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.3809, allocations: 1.031 MB / 0.5001 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.3809, allocations: 0 / 0.5001 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.381, allocations: 43.92 kB / 0.5001 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/0.3814, allocations: 144.6 kB / 0.5002 GB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.3815, allocations: 16.02 kB / 0.5002 GB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.3839, allocations: 2.311 MB / 0.5025 GB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3839, allocations: 0 / 0.5025 GB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3849, allocations: 0.7043 MB / 0.5032 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.3851, allocations: 152.5 kB / 0.5033 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.3851, allocations: 15.98 kB / 0.5034 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.3854, allocations: 16 kB / 0.5034 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.3854, allocations: 35.94 kB / 0.5034 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.3855, allocations: 12 kB / 0.5034 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002108/0.3857, allocations: 223.1 kB / 0.5036 GB, free: 292 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3857, allocations: 0 / 0.5036 GB, free: 292 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005255/0.3862, allocations: 147.7 kB / 0.5038 GB, free: 144 kB / 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) * 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 (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.0001628/0.3864, allocations: 127.3 kB / 0.5039 GB, free: 8 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1612/0.5476, allocations: 0.5273 MB / 0.5044 GB, free: 95.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.5477, allocations: 1.969 kB / 0.5044 GB, free: 95.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006498/0.5483, allocations: 375 kB / 0.5048 GB, free: 95.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006371/0.549, allocations: 84.47 kB / 0.5048 GB, free: 95.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.5507, allocations: 1.03 MB / 0.5058 GB, free: 95.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.551, allocations: 0.8307 MB / 0.5067 GB, free: 94.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.5512, allocations: 40.19 kB / 0.5067 GB, free: 94.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.5513, allocations: 27.86 kB / 0.5067 GB, free: 94.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5513, allocations: 3.938 kB / 0.5067 GB, free: 94.29 MB / 378.7 MB Notification: Performance of Templates: time 0.01083/0.5621, allocations: 6.328 MB / 0.5129 GB, free: 94.1 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches