Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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 4.0.0+maint.om/package.mo", uses=false) 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) 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.00114, allocations: 115.5 kB / 17.69 MB, free: 5.305 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.001343/0.001343, allocations: 192 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 47.25 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09902, allocations: 49.45 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.008357/0.1074, allocations: 4.542 MB / 356.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003813/0.1113, allocations: 1.215 MB / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009315/0.1123, allocations: 27.88 kB / 357.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.113, allocations: 158.7 kB / 357.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.1151, allocations: 358 kB / 357.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008258/0.1159, allocations: 187.7 kB / 358 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002841/0.1188, allocations: 1.599 MB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.1207, allocations: 1.106 MB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.122, allocations: 0.6891 MB / 361.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.1241, allocations: 0.8446 MB / 362.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004524/0.1245, allocations: 176 kB / 362.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000502/0.1251, allocations: 179.9 kB / 362.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006061/0.1257, allocations: 478.7 kB / 363.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.1274, allocations: 0.7855 MB / 363.8 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.1304, allocations: 2.255 MB / 366.1 MB, free: 5.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1304, allocations: 0 / 366.1 MB, free: 5.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1304, allocations: 0 / 366.1 MB, free: 5.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.061e-05/0.1305, allocations: 8 kB / 366.1 MB, free: 5.035 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00605/0.1366, allocations: 1.752 MB / 367.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.1366, allocations: 16.02 kB / 367.9 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005124/0.1372, allocations: 155.1 kB / 368 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.1396, allocations: 0.989 MB / 369 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.855e-05/0.1397, allocations: 78.42 kB / 369.1 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000287/0.14, allocations: 112.1 kB / 369.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003896/0.1439, allocations: 1.553 MB / 370.7 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.1439, allocations: 0 / 370.7 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.1441, allocations: 47.98 kB / 370.8 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.879e-05/0.1442, allocations: 46.03 kB / 370.8 MB, free: 140 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1851/0.3293, allocations: 1.43 MB / 372.3 MB, free: 25.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0076/0.337, allocations: 4.88 MB / 377.1 MB, free: 22.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.3385, allocations: 1.454 MB / 378.6 MB, free: 21.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.3397, allocations: 0.728 MB / 379.3 MB, free: 21.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.3398, allocations: 11.66 kB / 379.3 MB, free: 21.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00099/0.3408, allocations: 0.6115 MB / 380 MB, free: 20.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.545e-06/0.3408, allocations: 0 / 380 MB, free: 20.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005822/0.3466, allocations: 2.443 MB / 382.4 MB, free: 20.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3467, allocations: 86.05 kB / 382.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.3479, allocations: 0.9343 MB / 383.4 MB, free: 19.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.3479, allocations: 45.23 kB / 383.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/0.3483, allocations: 0.5281 MB / 384 MB, free: 19.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.3485, allocations: 235.3 kB / 384.2 MB, free: 19.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.3487, allocations: 131 kB / 384.3 MB, free: 19.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.3487, allocations: 334.3 kB / 384.7 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/0.3494, allocations: 413.3 kB / 385.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/0.3501, allocations: 0.5545 MB / 385.6 MB, free: 18.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.3514, allocations: 0.9453 MB / 386.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.3514, allocations: 1.125 kB / 386.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002017/0.3535, allocations: 1.289 MB / 387.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3535, allocations: 7.344 kB / 387.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3535, allocations: 9.047 kB / 387.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008391/0.3544, allocations: 397.8 kB / 388.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.3548, allocations: 114.9 kB / 388.4 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00434/0.3592, allocations: 4.511 MB / 392.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.3598, allocations: 81.7 kB / 393 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.3598, allocations: 25.86 kB / 393 MB, free: 13.15 MB / 302.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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,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 (59): * Single equations (assignments): 58 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0006037/0.3604, allocations: 0.4909 MB / 393.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.3606, allocations: 92.25 kB / 393.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.3608, allocations: 119 kB / 393.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.3608, allocations: 10.81 kB / 393.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3608, allocations: 5.312 kB / 393.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3608, allocations: 3.984 kB / 393.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.3642, allocations: 2.58 MB / 396.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3642, allocations: 3.75 kB / 396.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.3646, allocations: 78.38 kB / 396.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000678/0.3653, allocations: 391.4 kB / 396.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.3654, allocations: 12.66 kB / 396.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.3694, allocations: 4.487 MB / 401.3 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3694, allocations: 4.656 kB / 401.3 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.3717, allocations: 1.948 MB / 403.2 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/0.3722, allocations: 283.8 kB / 403.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.3723, allocations: 16 kB / 403.5 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.3728, allocations: 43.94 kB / 403.5 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.3729, allocations: 80.48 kB / 403.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.373, allocations: 19.98 kB / 403.6 MB, free: 3.715 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006905/0.3737, allocations: 0.6785 MB / 404.3 MB, free: 3.043 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3737, allocations: 0 / 404.3 MB, free: 3.043 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008927/0.3746, allocations: 350.9 kB / 404.7 MB, free: 2.699 MB / 302.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_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 (45): * Single equations (assignments): 41 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000156/0.3748, allocations: 127 kB / 404.8 MB, free: 2.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.3765, allocations: 1.282 MB / 406.1 MB, free: 1.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3765, allocations: 0 / 406.1 MB, free: 1.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000962/0.3775, allocations: 0.8071 MB / 406.9 MB, free: 472 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/0.3784, allocations: 263.7 kB / 407.1 MB, free: 212 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/0.3831, allocations: 2.607 MB / 409.7 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009491/0.3841, allocations: 1.384 MB / 411.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000421/0.3845, allocations: 171.3 kB / 411.3 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.3847, allocations: 59.42 kB / 411.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3847, allocations: 4 kB / 411.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of Templates: time 0.02741/0.4121, allocations: 18.21 MB / 429.6 MB, free: 9.988 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches