Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 107.3 kB / 17.74 MB, free: 5.359 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.0011/0.0011, allocations: 192 kB / 18.67 MB, free: 4.434 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.305/1.305, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009954/0.0009955, allocations: 51.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2727, allocations: 49.42 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005062/0.2778, allocations: 3.451 MB / 404.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2794, allocations: 0.8296 MB / 405.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.2796, allocations: 7.938 kB / 405.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.2798, allocations: 67.36 kB / 405.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.2802, allocations: 126.8 kB / 405.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.2805, allocations: 131.8 kB / 406 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.281, allocations: 0.5174 MB / 406.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.2813, allocations: 169.8 kB / 406.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.2815, allocations: 199.2 kB / 406.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.2818, allocations: 219 kB / 407.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.886e-05/0.2819, allocations: 44 kB / 407.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.811e-05/0.2819, allocations: 51.94 kB / 407.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.282, allocations: 103.6 kB / 407.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.2823, allocations: 238.8 kB / 407.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004891/0.2828, allocations: 0.5188 MB / 408.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2828, allocations: 0 / 408.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-05/0.2828, allocations: 0 / 408.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.2828, allocations: 3.938 kB / 408.1 MB, free: 2.211 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001209/0.284, allocations: 0.7254 MB / 408.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2841, allocations: 8.031 kB / 408.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.2842, allocations: 52.36 kB / 408.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.2846, allocations: 344.3 kB / 409.2 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.2846, allocations: 25.38 kB / 409.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.2847, allocations: 40.38 kB / 409.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.2854, allocations: 400 kB / 409.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.2854, allocations: 11.84 kB / 409.7 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.2854, allocations: 16 kB / 409.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.2855, allocations: 8 kB / 409.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.286, allocations: 259.8 kB / 409.9 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.288, allocations: 1.48 MB / 411.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.2884, allocations: 247.4 kB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.2888, allocations: 175.2 kB / 411.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.2889, allocations: 4.234 kB / 411.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004197/0.2893, allocations: 230.5 kB / 412.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.2893, allocations: 0 / 412.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001516/0.2908, allocations: 0.5888 MB / 412.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.2909, allocations: 110.8 kB / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.2912, allocations: 300.5 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.2913, allocations: 29.7 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.2914, allocations: 212.3 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/0.2915, allocations: 106.7 kB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.2916, allocations: 66.08 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2918, allocations: 346.8 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.292, allocations: 92.64 kB / 413.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.2923, allocations: 225.5 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.2927, allocations: 326.7 kB / 414.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.2927, allocations: 4 kB / 414.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006985/0.2934, allocations: 406 kB / 414.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2935, allocations: 12.03 kB / 414.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2935, allocations: 4 kB / 414.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.2938, allocations: 92.67 kB / 414.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.294, allocations: 59.91 kB / 415 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.296, allocations: 1.99 MB / 417 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.2963, allocations: 43.73 kB / 417 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.2963, allocations: 16 kB / 417 MB, free: 8.652 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (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.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.2965, allocations: 169.8 kB / 417.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.2966, allocations: 31.62 kB / 417.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.601e-05/0.2967, allocations: 43.03 kB / 417.3 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2967, allocations: 4 kB / 417.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2967, allocations: 0 / 417.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.2967, allocations: 7.984 kB / 417.3 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006771/0.2974, allocations: 0.5614 MB / 417.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2974, allocations: 4 kB / 417.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.2976, allocations: 31.97 kB / 417.9 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.2978, allocations: 80.75 kB / 418 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.2979, allocations: 4 kB / 418 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.2997, allocations: 2.006 MB / 420 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2997, allocations: 0 / 420 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000909/0.3006, allocations: 498.8 kB / 420.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.3008, allocations: 136.6 kB / 420.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.3009, allocations: 8 kB / 420.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.301, allocations: 15.98 kB / 420.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.3011, allocations: 27.91 kB / 420.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3012, allocations: 8 kB / 420.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002172/0.3014, allocations: 211.1 kB / 420.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3014, allocations: 4 kB / 420.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005184/0.3019, allocations: 111.7 kB / 421 MB, free: 4.453 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001748/0.3021, allocations: 120.7 kB / 421.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008353/0.3029, allocations: 422.7 kB / 421.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.303, allocations: 0 / 421.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00043/0.3034, allocations: 286.5 kB / 421.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.3038, allocations: 76.39 kB / 421.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3052, allocations: 0.7296 MB / 422.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/0.3057, allocations: 0.8145 MB / 423.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.156e-05/0.3058, allocations: 31.42 kB / 423.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3058, allocations: 0 / 423.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of Templates: time 0.008997/0.3148, allocations: 6.004 MB / 429.4 MB, free: 11.94 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches