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.001275/0.001275, allocations: 175.6 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.367/1.367, allocations: 221.3 MB / 235.5 MB, free: 2.922 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.0009882/0.0009883, allocations: 99.47 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.835e-05, allocations: 4 kB / 343.8 MB, free: 4.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0937/0.09374, allocations: 50.42 MB / 394.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2997/0.3935, allocations: 85.54 MB / 479.8 MB, free: 1.949 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.3938, allocations: 93.27 kB / 479.9 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05242/0.4462, allocations: 20.82 MB / 0.489 GB, free: 12.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4462, allocations: 4 kB / 0.489 GB, free: 12.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.815e-05/0.4463, allocations: 31.94 kB / 0.489 GB, free: 12.84 MB / 378.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.002226/0.4486, allocations: 1.292 MB / 0.4903 GB, free: 11.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4486, allocations: 12.03 kB / 0.4903 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.4489, allocations: 142.3 kB / 0.4904 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.4525, allocations: 1.678 MB / 0.4921 GB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.4526, allocations: 70 kB / 0.4921 GB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.4528, allocations: 96 kB / 0.4922 GB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.455, allocations: 1.396 MB / 0.4936 GB, free: 8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.455, allocations: 0 / 0.4936 GB, free: 8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.4551, allocations: 52 kB / 0.4936 GB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-05/0.4552, allocations: 41.98 kB / 0.4937 GB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.457, allocations: 1.175 MB / 0.4948 GB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006233/0.4633, allocations: 4.351 MB / 0.4991 GB, free: 2.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.4652, allocations: 1.933 MB / 0.501 GB, free: 124 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.4663, allocations: 0.7284 MB / 0.5017 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.4664, allocations: 8.781 kB / 0.5017 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008606/0.4673, allocations: 0.5762 MB / 0.5022 GB, free: 14.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 3.957e-06/0.4673, allocations: 4 kB / 0.5022 GB, free: 14.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.002124/0.4694, allocations: 1.222 MB / 0.5034 GB, free: 13.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.4695, allocations: 115.6 kB / 0.5036 GB, free: 13.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.4705, allocations: 0.7302 MB / 0.5043 GB, free: 12.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/0.4706, allocations: 41.7 kB / 0.5043 GB, free: 12.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.4711, allocations: 487.8 kB / 0.5048 GB, free: 12.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.4713, allocations: 240.5 kB / 0.505 GB, free: 11.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.4713, allocations: 12 kB / 0.505 GB, free: 11.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4715, allocations: 394.8 kB / 0.5054 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005204/0.472, allocations: 377.3 kB / 0.5057 GB, free: 11.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006348/0.4727, allocations: 0.5114 MB / 0.5062 GB, free: 10.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.4733, allocations: 423 kB / 0.5067 GB, free: 10.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4733, allocations: 0 / 0.5067 GB, free: 10.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001867/0.4752, allocations: 1.252 MB / 0.5079 GB, free: 8.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.4752, allocations: 8 kB / 0.5079 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.4752, allocations: 4 kB / 0.5079 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.4763, allocations: 464.2 kB / 0.5083 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.4767, allocations: 99.83 kB / 0.5084 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006472/0.4832, allocations: 5.083 MB / 0.5134 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000629/0.4838, allocations: 91.39 kB / 0.5135 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.4839, allocations: 20 kB / 0.5135 GB, free: 3 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.0001979/0.4841, allocations: 158.6 kB / 0.5136 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.4842, allocations: 86.97 kB / 0.5137 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.4845, allocations: 116.5 kB / 0.5138 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.4845, allocations: 4 kB / 0.5138 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4845, allocations: 3.938 kB / 0.5138 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.4846, allocations: 7.984 kB / 0.5139 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/0.4885, allocations: 2.587 MB / 0.5164 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.4886, allocations: 0 / 0.5164 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.4889, allocations: 67.91 kB / 0.5164 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.4899, allocations: 460.5 kB / 0.5169 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.49, allocations: 15.98 kB / 0.5169 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006482/0.4965, allocations: 5.045 MB / 0.5218 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4965, allocations: 0 / 0.5218 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.4991, allocations: 1.849 MB / 0.5236 GB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005697/0.4997, allocations: 287.8 kB / 0.5239 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.4999, allocations: 12 kB / 0.5239 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.5004, allocations: 51.94 kB / 0.524 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.5006, allocations: 68.67 kB / 0.524 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.5007, allocations: 19.98 kB / 0.5241 GB, free: 7.922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008321/0.5015, allocations: 0.5772 MB / 0.5246 GB, free: 7.348 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5015, allocations: 0 / 0.5246 GB, free: 7.348 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001074/0.5026, allocations: 347.1 kB / 0.5249 GB, free: 7.008 MB / 410.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.0002341/0.5028, allocations: 139 kB / 0.5251 GB, free: 6.863 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002036/0.5049, allocations: 1.224 MB / 0.5263 GB, free: 5.621 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.5049, allocations: 0 / 0.5263 GB, free: 5.621 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.506, allocations: 0.8007 MB / 0.5271 GB, free: 4.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.5071, allocations: 244 kB / 0.5273 GB, free: 4.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.5109, allocations: 1.807 MB / 0.5291 GB, free: 2.734 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.512, allocations: 1.345 MB / 0.5304 GB, free: 1.359 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005125/0.5125, allocations: 143.2 kB / 0.5305 GB, free: 1.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.5127, allocations: 55.44 kB / 0.5306 GB, free: 1.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.163e-06/0.5127, allocations: 0 / 0.5306 GB, free: 1.16 MB / 410.7 MB Notification: Performance of Templates: time 0.2166/0.7293, allocations: 17.79 MB / 0.5479 GB, free: 125.3 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