Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 114.5 kB / 17.93 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 189.9 kB / 18.86 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 224.7 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 51.94 kB / 280.8 MB, free: 3.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08686/0.08801, allocations: 46.63 MB / 327.5 MB, free: 4.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005633/0.09368, allocations: 4.678 MB / 332.1 MB, free: 48 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.09609, allocations: 1.329 MB / 333.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.09645, allocations: 19.88 kB / 333.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006213/0.09711, allocations: 179 kB / 333.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00072/0.09784, allocations: 326.3 kB / 334 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.09822, allocations: 187.8 kB / 334.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.0996, allocations: 1.533 MB / 335.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009781/0.1006, allocations: 0.914 MB / 336.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006909/0.1013, allocations: 0.6308 MB / 337.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007916/0.1021, allocations: 0.7861 MB / 338 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.1023, allocations: 164 kB / 338.2 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.1025, allocations: 164 kB / 338.3 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.1028, allocations: 434.7 kB / 338.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006332/0.1035, allocations: 0.7273 MB / 339.5 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.1048, allocations: 1.711 MB / 341.2 MB, free: 6.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1048, allocations: 0 / 341.2 MB, free: 6.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1048, allocations: 0 / 341.2 MB, free: 6.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.1048, allocations: 4 kB / 341.2 MB, free: 6.926 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002674/0.1075, allocations: 1.619 MB / 342.8 MB, free: 5.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1075, allocations: 11.97 kB / 342.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.1078, allocations: 143.2 kB / 343 MB, free: 5.098 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.1089, allocations: 0.8645 MB / 343.8 MB, free: 4.191 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.1089, allocations: 82.36 kB / 343.9 MB, free: 4.113 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.1091, allocations: 100.1 kB / 344 MB, free: 4.016 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.1112, allocations: 1.423 MB / 345.4 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.1113, allocations: 4 kB / 345.4 MB, free: 2.555 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/0.1114, allocations: 44 kB / 345.5 MB, free: 2.512 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/0.1114, allocations: 41.98 kB / 345.5 MB, free: 2.473 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.1133, allocations: 1.284 MB / 346.8 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005589/0.1189, allocations: 4.32 MB / 351.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.1208, allocations: 1.97 MB / 353.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.1218, allocations: 0.6142 MB / 353.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.217e-05/0.1219, allocations: 8.656 kB / 353.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000888/0.1228, allocations: 0.5937 MB / 354.3 MB, free: 9.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.415e-06/0.1228, allocations: 0 / 354.3 MB, free: 9.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007127/0.1299, allocations: 2.843 MB / 357.2 MB, free: 6.453 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.13, allocations: 115.5 kB / 357.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1311, allocations: 0.8207 MB / 358.1 MB, free: 5.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.1312, allocations: 41.7 kB / 358.1 MB, free: 5.441 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.1316, allocations: 487.8 kB / 358.6 MB, free: 4.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.1318, allocations: 244.5 kB / 358.9 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.132, allocations: 138.6 kB / 359 MB, free: 4.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1322, allocations: 398.7 kB / 359.4 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/0.1327, allocations: 393.7 kB / 359.8 MB, free: 3.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/0.1334, allocations: 0.5455 MB / 360.3 MB, free: 3.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.1347, allocations: 0.9191 MB / 361.2 MB, free: 2.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.1347, allocations: 4 kB / 361.2 MB, free: 2.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00195/0.1366, allocations: 1.322 MB / 362.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1367, allocations: 4 kB / 362.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1367, allocations: 4 kB / 362.6 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.1377, allocations: 480.2 kB / 363 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.1381, allocations: 95.88 kB / 363.1 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006632/0.1447, allocations: 5.566 MB / 368.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.1453, allocations: 87.33 kB / 368.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.1454, allocations: 28 kB / 368.8 MB, free: 10.49 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0006334/0.146, allocations: 463.3 kB / 369.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.1461, allocations: 90.95 kB / 369.3 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.1464, allocations: 108.6 kB / 369.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1464, allocations: 4 kB / 369.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1464, allocations: 4 kB / 369.5 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.1464, allocations: 3.984 kB / 369.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/0.1501, allocations: 2.611 MB / 372.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.1501, allocations: 4.125 kB / 372.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.1504, allocations: 67.89 kB / 372.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009333/0.1513, allocations: 464.3 kB / 372.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.1514, allocations: 12 kB / 372.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006705/0.1581, allocations: 5.544 MB / 378.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1581, allocations: 0 / 378.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.146/0.3042, allocations: 1.917 MB / 380.1 MB, free: 53.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005091/0.3047, allocations: 269.9 kB / 380.3 MB, free: 53.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.3049, allocations: 19.81 kB / 380.4 MB, free: 53.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.3053, allocations: 43.78 kB / 380.4 MB, free: 53.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/0.3055, allocations: 73.2 kB / 380.5 MB, free: 53.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.3056, allocations: 23.67 kB / 380.5 MB, free: 53.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008412/0.3064, allocations: 0.5883 MB / 381.1 MB, free: 53.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3064, allocations: 0 / 381.1 MB, free: 53.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001156/0.3076, allocations: 346.3 kB / 381.4 MB, free: 53.18 MB / 318.1 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001859/0.3078, allocations: 127.9 kB / 381.5 MB, free: 53.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002422/0.3102, allocations: 1.423 MB / 383 MB, free: 52.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3103, allocations: 1.438 kB / 383 MB, free: 52.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.3115, allocations: 0.8254 MB / 383.8 MB, free: 52.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3128, allocations: 273.8 kB / 384.1 MB, free: 52.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.3168, allocations: 2.806 MB / 386.9 MB, free: 51.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008857/0.3177, allocations: 1.294 MB / 388.2 MB, free: 50.22 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.3179, allocations: 58.2 kB / 388.2 MB, free: 50.21 MB / 318.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3179, allocations: 0 / 388.2 MB, free: 50.21 MB / 318.1 MB Notification: Performance of Templates: time 0.02262/0.3405, allocations: 20.55 MB / 408.8 MB, free: 35.82 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches