Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009728/0.0009728, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 227.2 MB / 245 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008731/0.0008731, allocations: 104.7 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002261/0.000226, allocations: 11.98 kB / 357.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1925, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09515/0.2877, allocations: 86.43 MB / 495.9 MB, free: 4.195 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.288, allocations: 93.16 kB / 496 MB, free: 4.105 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2242/0.5122, allocations: 20.92 MB / 0.5048 GB, free: 87.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5122, allocations: 1 kB / 0.5048 GB, free: 87.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001555/0.5124, allocations: 31.34 kB / 0.5048 GB, free: 87.2 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.004029/0.5164, allocations: 1.45 MB / 0.5062 GB, free: 86.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5165, allocations: 8.656 kB / 0.5062 GB, free: 86.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008342/0.5173, allocations: 174.4 kB / 0.5064 GB, free: 86.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004529/0.5219, allocations: 1.683 MB / 0.508 GB, free: 86.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/0.522, allocations: 80.67 kB / 0.5081 GB, free: 86.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/0.5223, allocations: 102 kB / 0.5082 GB, free: 86.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.5249, allocations: 1.421 MB / 0.5096 GB, free: 85.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.5249, allocations: 5.406 kB / 0.5096 GB, free: 85.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.525, allocations: 43.52 kB / 0.5096 GB, free: 85.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-05/0.5251, allocations: 42.58 kB / 0.5097 GB, free: 85.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.5272, allocations: 1.232 MB / 0.5109 GB, free: 85.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005152/0.5324, allocations: 4.362 MB / 0.5151 GB, free: 84.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.5338, allocations: 1.976 MB / 0.5171 GB, free: 83.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.5339, allocations: 8.359 kB / 0.5171 GB, free: 83.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007189/0.5346, allocations: 0.5948 MB / 0.5177 GB, free: 82.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.815e-06/0.5346, allocations: 0 / 0.5177 GB, free: 82.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.005991/0.5406, allocations: 2.82 MB / 0.5204 GB, free: 82.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.5407, allocations: 115.3 kB / 0.5205 GB, free: 81.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008267/0.5416, allocations: 0.7433 MB / 0.5212 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.5416, allocations: 40.73 kB / 0.5213 GB, free: 81.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.5419, allocations: 490.8 kB / 0.5217 GB, free: 81.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.5421, allocations: 244 kB / 0.522 GB, free: 81.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.5421, allocations: 15.91 kB / 0.522 GB, free: 81.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.5422, allocations: 335.7 kB / 0.5223 GB, free: 80.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.5427, allocations: 395.1 kB / 0.5227 GB, free: 80.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.5433, allocations: 0.5496 MB / 0.5232 GB, free: 80.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.5438, allocations: 440.9 kB / 0.5236 GB, free: 80.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5438, allocations: 0 / 0.5236 GB, free: 80.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001605/0.5454, allocations: 1.303 MB / 0.5249 GB, free: 79.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5454, allocations: 11.84 kB / 0.5249 GB, free: 79.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5455, allocations: 10.11 kB / 0.5249 GB, free: 79.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008976/0.5464, allocations: 471.2 kB / 0.5254 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.5467, allocations: 97.33 kB / 0.5255 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005276/0.552, allocations: 5.29 MB / 0.5307 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.5525, allocations: 88.19 kB / 0.5307 GB, free: 76.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.5526, allocations: 24 kB / 0.5308 GB, free: 76.1 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: 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 () * Number of clocked 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.0006152/0.5532, allocations: 460.7 kB / 0.5312 GB, free: 75.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.5533, allocations: 86.97 kB / 0.5313 GB, free: 75.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.5535, allocations: 115.2 kB / 0.5314 GB, free: 75.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.5535, allocations: 4 kB / 0.5314 GB, free: 75.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5536, allocations: 4 kB / 0.5314 GB, free: 75.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.5536, allocations: 7.844 kB / 0.5314 GB, free: 75.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.5567, allocations: 2.637 MB / 0.534 GB, free: 73.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5567, allocations: 0 / 0.534 GB, free: 73.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.557, allocations: 71.38 kB / 0.534 GB, free: 73.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007736/0.5578, allocations: 459.8 kB / 0.5345 GB, free: 72.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.5578, allocations: 17.42 kB / 0.5345 GB, free: 72.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004932/0.5628, allocations: 5.238 MB / 0.5396 GB, free: 68.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5628, allocations: 4 kB / 0.5396 GB, free: 68.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.5649, allocations: 1.925 MB / 0.5415 GB, free: 66.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.5653, allocations: 269 kB / 0.5418 GB, free: 66.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/0.5654, allocations: 16 kB / 0.5418 GB, free: 66.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.5658, allocations: 50.3 kB / 0.5418 GB, free: 66.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.5659, allocations: 74.06 kB / 0.5419 GB, free: 66.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.566, allocations: 27.75 kB / 0.5419 GB, free: 66.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005707/0.5666, allocations: 0.5872 MB / 0.5425 GB, free: 65.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5666, allocations: 0 / 0.5425 GB, free: 65.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008732/0.5674, allocations: 351 kB / 0.5428 GB, free: 65.16 MB / 378.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) * Number of clocked states: 0 () * 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.0001717/0.5676, allocations: 146 kB / 0.543 GB, free: 65.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.5692, allocations: 1.287 MB / 0.5442 GB, free: 63.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.5693, allocations: 192 / 0.5442 GB, free: 63.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009125/0.5702, allocations: 0.8239 MB / 0.545 GB, free: 62.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008311/0.571, allocations: 251.8 kB / 0.5453 GB, free: 62.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.5744, allocations: 2.677 MB / 0.5479 GB, free: 59.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.5751, allocations: 1.345 MB / 0.5492 GB, free: 58.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003629/0.5754, allocations: 146.1 kB / 0.5493 GB, free: 58.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.5756, allocations: 47.44 kB / 0.5494 GB, free: 58.39 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5756, allocations: 0 / 0.5494 GB, free: 58.39 MB / 378.7 MB Notification: Performance of Templates: time 0.02418/0.5998, allocations: 17.89 MB / 0.5669 GB, free: 40.84 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches