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.001058/0.001058, allocations: 108.2 kB / 17.06 MB, free: 6.016 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.001093/0.001094, allocations: 191 kB / 18 MB, free: 5.102 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.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009501/0.0009502, allocations: 51.94 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2756, allocations: 49.43 MB / 400.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004651/0.2803, allocations: 3.461 MB / 404.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.2817, allocations: 0.8296 MB / 405 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.2819, allocations: 11.94 kB / 405 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.2821, allocations: 63.36 kB / 405.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.2824, allocations: 130.8 kB / 405.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.2827, allocations: 139.8 kB / 405.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.2832, allocations: 0.5135 MB / 405.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.2835, allocations: 169.8 kB / 406 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.2837, allocations: 199.2 kB / 406.2 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.284, allocations: 211 kB / 406.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.714e-05/0.2841, allocations: 44 kB / 406.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.921e-05/0.2842, allocations: 48 kB / 406.5 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.902e-05/0.2843, allocations: 103.6 kB / 406.6 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.2845, allocations: 230.8 kB / 406.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005114/0.285, allocations: 0.5251 MB / 407.4 MB, free: 2.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.285, allocations: 0 / 407.4 MB, free: 2.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.285, allocations: 3.938 kB / 407.4 MB, free: 2.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.285, allocations: 4 kB / 407.4 MB, free: 2.227 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.001272/0.2863, allocations: 0.7375 MB / 408.1 MB, free: 1.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.2864, allocations: 8.031 kB / 408.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.2865, allocations: 56.61 kB / 408.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.287, allocations: 344.5 kB / 408.5 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.2871, allocations: 29.38 kB / 408.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.2871, allocations: 36.38 kB / 408.6 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.2879, allocations: 400 kB / 409 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.2879, allocations: 3.938 kB / 409 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.288, allocations: 19.98 kB / 409 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.288, allocations: 8 kB / 409 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.2885, allocations: 259.8 kB / 409.3 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.2904, allocations: 1.488 MB / 410.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.2908, allocations: 243.4 kB / 411 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/0.2912, allocations: 177.2 kB / 411.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.2913, allocations: 240 / 411.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.2917, allocations: 226.6 kB / 411.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.392e-06/0.2917, allocations: 4 kB / 411.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001476/0.2931, allocations: 0.5851 MB / 412 MB, free: 13.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.2932, allocations: 110.8 kB / 412.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.2936, allocations: 304.5 kB / 412.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.2936, allocations: 29.7 kB / 412.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.2938, allocations: 216.7 kB / 412.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.2938, allocations: 107.1 kB / 412.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.294, allocations: 66.06 kB / 412.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2941, allocations: 346.8 kB / 413.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.2943, allocations: 92.7 kB / 413.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.2946, allocations: 229.4 kB / 413.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.295, allocations: 327.1 kB / 413.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.295, allocations: 0 / 413.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006746/0.2957, allocations: 411.4 kB / 414.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2957, allocations: 4 kB / 414.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2958, allocations: 4 kB / 414.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.2961, allocations: 89.25 kB / 414.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.2963, allocations: 59.91 kB / 414.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.2982, allocations: 2.01 MB / 416.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2984, allocations: 27.84 kB / 416.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.2985, allocations: 16 kB / 416.4 MB, free: 8.645 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.0001866/0.2987, allocations: 179.2 kB / 416.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.2987, allocations: 31.81 kB / 416.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.373e-05/0.2988, allocations: 43.03 kB / 416.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2988, allocations: 4 kB / 416.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2988, allocations: 0 / 416.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2988, allocations: 3.984 kB / 416.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.2994, allocations: 0.5731 MB / 417.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2995, allocations: 0 / 417.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.2996, allocations: 32.02 kB / 417.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.2999, allocations: 84.86 kB / 417.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.2999, allocations: 8 kB / 417.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.3017, allocations: 1.983 MB / 419.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3017, allocations: 4.031 kB / 419.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008639/0.3026, allocations: 0.4911 MB / 419.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.3027, allocations: 136.8 kB / 419.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.3028, allocations: 15.98 kB / 420 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3029, allocations: 16 kB / 420 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3031, allocations: 35.97 kB / 420 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.3031, allocations: 8 kB / 420 MB, free: 4.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.3033, allocations: 207.1 kB / 420.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3033, allocations: 0 / 420.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005021/0.3038, allocations: 115.8 kB / 420.3 MB, free: 4.43 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.0001718/0.304, allocations: 123.3 kB / 420.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007632/0.3048, allocations: 422.3 kB / 420.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3048, allocations: 1 kB / 420.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.3052, allocations: 282.5 kB / 421.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3056, allocations: 60.62 kB / 421.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.3068, allocations: 0.7191 MB / 421.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.3072, allocations: 0.8029 MB / 422.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.3073, allocations: 39.05 kB / 422.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.3073, allocations: 23.44 kB / 422.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3074, allocations: 0 / 422.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of Templates: time 0.008974/0.3163, allocations: 4.826 MB / 427.6 MB, free: 13.16 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/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