Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001573, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001608/0.001608, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.429/1.429, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 64.25 kB / 307.9 MB, free: 468 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09757/0.09952, allocations: 50.54 MB / 358.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006718/0.1063, allocations: 4.595 MB / 363 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002844/0.1092, allocations: 1.312 MB / 364.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000421/0.1096, allocations: 23.88 kB / 364.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.11, allocations: 166.6 kB / 364.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.1111, allocations: 346 kB / 364.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.1116, allocations: 215.6 kB / 365.1 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.1135, allocations: 1.623 MB / 366.7 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.1149, allocations: 1.099 MB / 367.8 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.1161, allocations: 0.693 MB / 368.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.1172, allocations: 0.8562 MB / 369.4 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.1175, allocations: 176 kB / 369.5 MB, free: 2.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.1178, allocations: 183.9 kB / 369.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004718/0.1183, allocations: 474.7 kB / 370.2 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.1193, allocations: 0.8088 MB / 371 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1557/0.275, allocations: 2.243 MB / 373.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2751, allocations: 0.5625 kB / 373.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2751, allocations: 0.5312 kB / 373.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.382e-05/0.2752, allocations: 0 / 373.2 MB, free: 13.09 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.00373/0.2789, allocations: 1.793 MB / 375 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.279, allocations: 10.06 kB / 375 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008691/0.2798, allocations: 209.5 kB / 375.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.2814, allocations: 0.9982 MB / 376.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.182e-05/0.2815, allocations: 80.92 kB / 376.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.2817, allocations: 102.6 kB / 376.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/0.2844, allocations: 1.56 MB / 378 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.2844, allocations: 0 / 378 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.2846, allocations: 44.23 kB / 378 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/0.2846, allocations: 44.86 kB / 378.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.287, allocations: 1.436 MB / 379.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007079/0.2941, allocations: 4.935 MB / 384.4 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.2956, allocations: 1.46 MB / 385.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.2967, allocations: 0.7352 MB / 386.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.2968, allocations: 6.812 kB / 386.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008841/0.2977, allocations: 0.6139 MB / 387.2 MB, free: 7.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.384e-06/0.2977, allocations: 0 / 387.2 MB, free: 7.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005687/0.3034, allocations: 2.434 MB / 389.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.3035, allocations: 89.05 kB / 389.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.3047, allocations: 0.9639 MB / 390.7 MB, free: 5.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.039e-05/0.3048, allocations: 41.77 kB / 390.8 MB, free: 5.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.3052, allocations: 0.5385 MB / 391.3 MB, free: 5.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.3054, allocations: 231 kB / 391.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.3056, allocations: 134.8 kB / 391.7 MB, free: 4.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.3057, allocations: 333.8 kB / 392 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.3063, allocations: 414.2 kB / 392.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006935/0.307, allocations: 0.5544 MB / 393 MB, free: 3.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.3084, allocations: 0.9501 MB / 393.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3084, allocations: 1.875 kB / 393.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002108/0.3105, allocations: 1.292 MB / 395.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3105, allocations: 9.531 kB / 395.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3105, allocations: 4 kB / 395.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008634/0.3114, allocations: 406.3 kB / 395.6 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.3119, allocations: 112.8 kB / 395.7 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/0.3169, allocations: 4.506 MB / 400.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008172/0.3177, allocations: 82.42 kB / 400.3 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.3178, allocations: 29.53 kB / 400.3 MB, free: 14.99 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_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.0008239/0.3186, allocations: 0.4886 MB / 400.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.3188, allocations: 97.59 kB / 400.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.3191, allocations: 124.7 kB / 401 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.3191, allocations: 11.78 kB / 401 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.3191, allocations: 0 / 401 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3191, allocations: 3.984 kB / 401.1 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.3233, allocations: 2.601 MB / 403.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3233, allocations: 0 / 403.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/0.3238, allocations: 79.12 kB / 403.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008703/0.3246, allocations: 389 kB / 404.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/0.3247, allocations: 16 kB / 404.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006095/0.3308, allocations: 4.478 MB / 408.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3308, allocations: 4 kB / 408.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/0.3343, allocations: 1.957 MB / 410.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/0.3349, allocations: 294.4 kB / 410.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.3351, allocations: 20 kB / 410.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.3356, allocations: 40.2 kB / 410.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.3358, allocations: 76.53 kB / 411 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.3359, allocations: 20 kB / 411 MB, free: 5.141 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001064/0.3369, allocations: 0.6981 MB / 411.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.337, allocations: 0 / 411.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001164/0.3381, allocations: 339 kB / 412 MB, free: 4.113 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_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.0002235/0.3384, allocations: 147.4 kB / 412.2 MB, free: 3.969 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002891/0.3413, allocations: 1.43 MB / 413.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.3413, allocations: 4 kB / 413.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.3427, allocations: 0.8061 MB / 414.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.3439, allocations: 255 kB / 414.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.3494, allocations: 2.667 MB / 417.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.3506, allocations: 1.367 MB / 418.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.3509, allocations: 71.42 kB / 418.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3509, allocations: 0 / 418.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Templates: time 0.03191/0.3828, allocations: 22.33 MB / 441.1 MB, free: 7.09 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches