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.001626/0.001626, allocations: 201.5 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007752/0.0007753, allocations: 105.5 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002686/0.0002689, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2172, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.3194, allocations: 86.39 MB / 495.8 MB, free: 5.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.3197, allocations: 87.94 kB / 495.9 MB, free: 5.004 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2262/0.5459, allocations: 20.89 MB / 0.5046 GB, free: 87.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.5459, allocations: 1.938 kB / 0.5046 GB, free: 87.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001553/0.5461, allocations: 23.84 kB / 0.5047 GB, free: 87.74 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.003334/0.5494, allocations: 1.439 MB / 0.5061 GB, free: 87.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5495, allocations: 9.625 kB / 0.5061 GB, free: 87.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005309/0.55, allocations: 172.7 kB / 0.5062 GB, free: 87.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.5519, allocations: 1.039 MB / 0.5073 GB, free: 86.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.552, allocations: 77.16 kB / 0.5073 GB, free: 86.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.5522, allocations: 95.64 kB / 0.5074 GB, free: 86.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.5543, allocations: 1.433 MB / 0.5088 GB, free: 86.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.5543, allocations: 192 / 0.5088 GB, free: 86.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.741e-05/0.5544, allocations: 48.25 kB / 0.5089 GB, free: 86.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.5545, allocations: 43.62 kB / 0.5089 GB, free: 86.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.5567, allocations: 1.234 MB / 0.5101 GB, free: 86.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00625/0.563, allocations: 4.37 MB / 0.5144 GB, free: 85.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.5645, allocations: 1.969 MB / 0.5163 GB, free: 83.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009397/0.5655, allocations: 0.7414 MB / 0.517 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.5655, allocations: 11.77 kB / 0.517 GB, free: 83.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007239/0.5663, allocations: 0.6017 MB / 0.5176 GB, free: 83.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.765e-06/0.5663, allocations: 2.5 kB / 0.5176 GB, free: 83.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.00605/0.5723, allocations: 2.819 MB / 0.5204 GB, free: 82.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.5724, allocations: 116.2 kB / 0.5205 GB, free: 82.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.5735, allocations: 0.8271 MB / 0.5213 GB, free: 82.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/0.5736, allocations: 37.61 kB / 0.5213 GB, free: 82.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.574, allocations: 495.4 kB / 0.5218 GB, free: 81.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.5742, allocations: 245.2 kB / 0.5221 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.5742, allocations: 15.16 kB / 0.5221 GB, free: 81.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.5743, allocations: 339.2 kB / 0.5224 GB, free: 81.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000541/0.5748, allocations: 398.4 kB / 0.5228 GB, free: 81.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.5754, allocations: 0.5441 MB / 0.5233 GB, free: 80.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.5765, allocations: 0.9159 MB / 0.5242 GB, free: 80.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5765, allocations: 2.938 kB / 0.5242 GB, free: 80.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001709/0.5782, allocations: 1.308 MB / 0.5255 GB, free: 79.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5782, allocations: 6.844 kB / 0.5255 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5783, allocations: 7.094 kB / 0.5255 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009763/0.5792, allocations: 464.2 kB / 0.5259 GB, free: 79.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.5796, allocations: 102.5 kB / 0.526 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005632/0.5852, allocations: 5.117 MB / 0.531 GB, free: 76.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/0.5859, allocations: 77.95 kB / 0.5311 GB, free: 76.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.586, allocations: 24 kB / 0.5311 GB, free: 76.52 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.0006425/0.5867, allocations: 470.8 kB / 0.5316 GB, free: 76.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.5868, allocations: 94.81 kB / 0.5317 GB, free: 76.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.587, allocations: 113 kB / 0.5318 GB, free: 75.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.587, allocations: 8 kB / 0.5318 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.587, allocations: 0 / 0.5318 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.587, allocations: 3.516 kB / 0.5318 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.5901, allocations: 2.619 MB / 0.5343 GB, free: 73.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5901, allocations: 6.562 kB / 0.5343 GB, free: 73.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.5904, allocations: 66.25 kB / 0.5344 GB, free: 73.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007938/0.5912, allocations: 455.9 kB / 0.5348 GB, free: 73.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.5912, allocations: 19.66 kB / 0.5349 GB, free: 73.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00478/0.596, allocations: 5.076 MB / 0.5398 GB, free: 68.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.596, allocations: 7.844 kB / 0.5398 GB, free: 68.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.5983, allocations: 1.925 MB / 0.5417 GB, free: 67.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.5987, allocations: 271.6 kB / 0.542 GB, free: 66.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.649e-05/0.5988, allocations: 16 kB / 0.542 GB, free: 66.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.5992, allocations: 44.42 kB / 0.542 GB, free: 66.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.5994, allocations: 81 kB / 0.5421 GB, free: 66.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.5994, allocations: 24 kB / 0.5421 GB, free: 66.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006279/0.6, allocations: 0.5894 MB / 0.5427 GB, free: 66.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6, allocations: 0 / 0.5427 GB, free: 66.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001009/0.6011, allocations: 343.1 kB / 0.543 GB, free: 65.8 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.0002111/0.6013, allocations: 142 kB / 0.5432 GB, free: 65.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001725/0.603, allocations: 1.28 MB / 0.5444 GB, free: 64.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.603, allocations: 0 / 0.5444 GB, free: 64.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009528/0.604, allocations: 0.8245 MB / 0.5452 GB, free: 63.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.605, allocations: 265.7 kB / 0.5455 GB, free: 63.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.6084, allocations: 2.681 MB / 0.5481 GB, free: 60.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.609, allocations: 1.326 MB / 0.5494 GB, free: 59.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004183/0.6094, allocations: 142.4 kB / 0.5495 GB, free: 59.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.6096, allocations: 51.42 kB / 0.5496 GB, free: 59.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6096, allocations: 0 / 0.5496 GB, free: 59.14 MB / 378.7 MB Notification: Performance of Templates: time 0.02426/0.6339, allocations: 18.07 MB / 0.5672 GB, free: 41.44 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/jenkins1/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