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.0009836/0.0009838, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008276/0.0008277, allocations: 97.81 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.904e-05, allocations: 4 kB / 343.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1474, allocations: 51.48 MB / 395.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3905/0.538, allocations: 85.7 MB / 480.9 MB, free: 7.465 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.5382, allocations: 92.72 kB / 481 MB, free: 7.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04865/0.5869, allocations: 20.72 MB / 0.4899 GB, free: 6.379 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5869, allocations: 0 / 0.4899 GB, free: 6.379 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.145e-05/0.587, allocations: 27.94 kB / 0.49 GB, free: 6.352 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.002489/0.5895, allocations: 1.311 MB / 0.4912 GB, free: 5.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.5896, allocations: 8.031 kB / 0.4913 GB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004838/0.5901, allocations: 182.3 kB / 0.4914 GB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.5937, allocations: 1.665 MB / 0.4931 GB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.5938, allocations: 32 kB / 0.4931 GB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.5939, allocations: 56 kB / 0.4931 GB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001677/0.5956, allocations: 1.121 MB / 0.4942 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.5975, allocations: 1.249 MB / 0.4955 GB, free: 1.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.5976, allocations: 3.938 kB / 0.4955 GB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.427e-05/0.5977, allocations: 4 kB / 0.4955 GB, free: 1.871 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-05/0.5977, allocations: 41.98 kB / 0.4955 GB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006072/0.6038, allocations: 4.175 MB / 0.4996 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.6057, allocations: 1.911 MB / 0.5014 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007489/0.6064, allocations: 0.6031 MB / 0.502 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.6065, allocations: 8.781 kB / 0.502 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007948/0.6073, allocations: 0.5473 MB / 0.5026 GB, free: 10.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.455e-06/0.6073, allocations: 8 kB / 0.5026 GB, free: 10.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.001888/0.6092, allocations: 1.157 MB / 0.5037 GB, free: 9.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.6093, allocations: 123.5 kB / 0.5038 GB, free: 9.152 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008275/0.6101, allocations: 0.6637 MB / 0.5045 GB, free: 8.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.6102, allocations: 25.7 kB / 0.5045 GB, free: 8.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/0.6106, allocations: 487.8 kB / 0.505 GB, free: 7.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.6108, allocations: 232.5 kB / 0.5052 GB, free: 7.734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.6108, allocations: 0 / 0.5052 GB, free: 7.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.611, allocations: 402.6 kB / 0.5056 GB, free: 7.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.6115, allocations: 361.4 kB / 0.5059 GB, free: 6.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.6121, allocations: 0.4942 MB / 0.5064 GB, free: 6.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.6126, allocations: 405.9 kB / 0.5068 GB, free: 6.035 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6126, allocations: 0 / 0.5068 GB, free: 6.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001675/0.6143, allocations: 1.178 MB / 0.5079 GB, free: 4.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.6144, allocations: 8 kB / 0.5079 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6144, allocations: 4.438 kB / 0.508 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009856/0.6154, allocations: 448.6 kB / 0.5084 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.6158, allocations: 107.8 kB / 0.5085 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/0.6219, allocations: 4.94 MB / 0.5133 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006561/0.6226, allocations: 75.52 kB / 0.5134 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.6227, allocations: 31.98 kB / 0.5134 GB, free: 15.12 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.0002044/0.6229, allocations: 131.7 kB / 0.5135 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.623, allocations: 86.97 kB / 0.5136 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.6233, allocations: 104.6 kB / 0.5137 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.6233, allocations: 8 kB / 0.5137 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6233, allocations: 3.938 kB / 0.5137 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.6234, allocations: 3.984 kB / 0.5137 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.6268, allocations: 2.385 MB / 0.5161 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6268, allocations: 0 / 0.5161 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.6271, allocations: 67.91 kB / 0.5161 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008975/0.628, allocations: 448.7 kB / 0.5166 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.6281, allocations: 0 / 0.5166 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005934/0.634, allocations: 4.921 MB / 0.5214 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6341, allocations: 0 / 0.5214 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/0.6365, allocations: 1.795 MB / 0.5231 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/0.637, allocations: 271.9 kB / 0.5234 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.6371, allocations: 3.984 kB / 0.5234 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.6375, allocations: 31.95 kB / 0.5234 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.6377, allocations: 76.66 kB / 0.5235 GB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.6378, allocations: 20 kB / 0.5235 GB, free: 4.566 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008106/0.6386, allocations: 0.5225 MB / 0.524 GB, free: 4.047 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6386, allocations: 4 kB / 0.524 GB, free: 4.043 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001313/0.6399, allocations: 311 kB / 0.5243 GB, free: 3.738 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.0002482/0.6402, allocations: 119.2 kB / 0.5244 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.6421, allocations: 1.167 MB / 0.5256 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6422, allocations: 0 / 0.5256 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.6433, allocations: 0.7631 MB / 0.5263 GB, free: 1.664 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.6444, allocations: 226 kB / 0.5265 GB, free: 1.453 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.6483, allocations: 1.763 MB / 0.5282 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.6495, allocations: 1.345 MB / 0.5296 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005127/0.65, allocations: 142.9 kB / 0.5297 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.6502, allocations: 55.36 kB / 0.5297 GB, free: 14.09 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.6502, allocations: 0 / 0.5297 GB, free: 14.09 MB / 410.7 MB Notification: Performance of Templates: time 0.02737/0.6776, allocations: 15.79 MB / 0.5452 GB, free: 14.53 MB / 426.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