Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009372/0.0009373, allocations: 177.1 kB / 8.349 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.328/1.328, allocations: 221.5 MB / 230.3 MB, free: 7.59 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.0009724/0.0009721, allocations: 81.75 kB / 281.2 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.977e-05, allocations: 4 kB / 337.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09694/0.09698, allocations: 50.43 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3061/0.4031, allocations: 84.87 MB / 472.4 MB, free: 9.965 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4034, allocations: 89.59 kB / 472.4 MB, free: 9.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05212/0.4555, allocations: 20.62 MB / 493.1 MB, free: 5.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4556, allocations: 0 / 493.1 MB, free: 5.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.818e-05/0.4557, allocations: 35.92 kB / 493.1 MB, free: 5.055 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002384/0.4581, allocations: 1.284 MB / 494.4 MB, free: 3.723 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4581, allocations: 19.97 kB / 494.4 MB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.4584, allocations: 138.3 kB / 494.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/0.4622, allocations: 1.671 MB / 496.2 MB, free: 1.852 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.4623, allocations: 32 kB / 496.2 MB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.4624, allocations: 56 kB / 496.3 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001736/0.4641, allocations: 1.117 MB / 497.4 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.466, allocations: 1.253 MB / 498.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.466, allocations: 0 / 498.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/0.4661, allocations: 7.984 kB / 498.7 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/0.4662, allocations: 38 kB / 498.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005773/0.4719, allocations: 4.168 MB / 0.4911 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.4736, allocations: 1.9 MB / 0.4929 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007247/0.4744, allocations: 0.5997 MB / 0.4935 GB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.4744, allocations: 20.69 kB / 0.4936 GB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000792/0.4752, allocations: 0.555 MB / 0.4941 GB, free: 7.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.876e-06/0.4752, allocations: 0 / 0.4941 GB, free: 7.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.001832/0.4771, allocations: 1.163 MB / 0.4952 GB, free: 6.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.4771, allocations: 111.6 kB / 0.4953 GB, free: 6.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008244/0.478, allocations: 0.6559 MB / 0.496 GB, free: 5.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/0.478, allocations: 33.7 kB / 0.496 GB, free: 5.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.4784, allocations: 479.8 kB / 0.4965 GB, free: 5.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.4786, allocations: 228.6 kB / 0.4967 GB, free: 5.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.4787, allocations: 0 / 0.4967 GB, free: 5.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4788, allocations: 394.8 kB / 0.4971 GB, free: 4.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.4793, allocations: 357.4 kB / 0.4974 GB, free: 4.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005521/0.4799, allocations: 0.502 MB / 0.4979 GB, free: 3.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.4804, allocations: 405.9 kB / 0.4983 GB, free: 3.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4804, allocations: 3.938 kB / 0.4983 GB, free: 3.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001608/0.482, allocations: 1.174 MB / 0.4994 GB, free: 2.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4821, allocations: 8 kB / 0.4994 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4821, allocations: 4 kB / 0.4994 GB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.4831, allocations: 456.8 kB / 0.4999 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.4835, allocations: 91.89 kB / 0.5 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006027/0.4895, allocations: 4.964 MB / 0.5048 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.4902, allocations: 63.48 kB / 0.5049 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.4902, allocations: 28.23 kB / 0.5049 GB, free: 12.39 MB / 394.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: 15 ($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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.4904, allocations: 134.5 kB / 0.505 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.4906, allocations: 82.97 kB / 0.5051 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.4908, allocations: 108.5 kB / 0.5052 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4909, allocations: 8 kB / 0.5052 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4909, allocations: 0 / 0.5052 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4909, allocations: 3.984 kB / 0.5052 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.4944, allocations: 2.378 MB / 0.5075 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4944, allocations: 3.828 kB / 0.5075 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.4947, allocations: 63.91 kB / 0.5076 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009116/0.4956, allocations: 453 kB / 0.508 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.4957, allocations: 3.953 kB / 0.508 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005778/0.5014, allocations: 4.922 MB / 0.5128 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.5015, allocations: 0 / 0.5128 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.5039, allocations: 1.787 MB / 0.5146 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.5044, allocations: 267.9 kB / 0.5149 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.5045, allocations: 8 kB / 0.5149 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.505, allocations: 39.89 kB / 0.5149 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.5052, allocations: 76.61 kB / 0.515 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.175e-05/0.5052, allocations: 19.98 kB / 0.515 GB, free: 1.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006759/0.5059, allocations: 0.5186 MB / 0.5155 GB, free: 1.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5059, allocations: 0 / 0.5155 GB, free: 1.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001011/0.5069, allocations: 322.9 kB / 0.5158 GB, free: 1.004 MB / 394.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (40): * Single equations (assignments): 36 * 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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002345/0.5072, allocations: 115.2 kB / 0.5159 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.5089, allocations: 1.163 MB / 0.517 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.509, allocations: 4 kB / 0.5171 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.51, allocations: 0.7629 MB / 0.5178 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009625/0.511, allocations: 223.5 kB / 0.518 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.5141, allocations: 1.752 MB / 0.5197 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009568/0.5151, allocations: 1.349 MB / 0.521 GB, free: 11.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000397/0.5155, allocations: 138.9 kB / 0.5212 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5157, allocations: 47.44 kB / 0.5212 GB, free: 11.38 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5157, allocations: 0 / 0.5212 GB, free: 11.38 MB / 410.7 MB Notification: Performance of Templates: time 0.02522/0.5409, allocations: 15.72 MB / 0.5366 GB, free: 11.84 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches