Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 118.2 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002656/0.002656, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001242, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2871, allocations: 50.55 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.00527/0.2924, allocations: 3.483 MB / 412.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.294, allocations: 0.923 MB / 413.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.2942, allocations: 11.94 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.2944, allocations: 67.3 kB / 413.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.2948, allocations: 118.8 kB / 413.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.2951, allocations: 163.7 kB / 414 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000525/0.2957, allocations: 0.5214 MB / 414.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.296, allocations: 177.8 kB / 414.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.2963, allocations: 203.2 kB / 414.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.2965, allocations: 219 kB / 415.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.2966, allocations: 48 kB / 415.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.2967, allocations: 48 kB / 415.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.781e-05/0.2968, allocations: 107.7 kB / 415.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.297, allocations: 234.8 kB / 415.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004834/0.2975, allocations: 0.5421 MB / 416.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2975, allocations: 0 / 416.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2975, allocations: 4 kB / 416.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.2975, allocations: 0 / 416.1 MB, free: 10.7 MB / 334.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.001284/0.2988, allocations: 0.7417 MB / 416.9 MB, free: 9.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.2989, allocations: 8.031 kB / 416.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.2992, allocations: 80.25 kB / 416.9 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.2997, allocations: 344.3 kB / 417.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.2998, allocations: 29.38 kB / 417.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/0.2998, allocations: 36.38 kB / 417.3 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.3005, allocations: 404 kB / 417.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.3006, allocations: 3.984 kB / 417.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.3006, allocations: 16 kB / 417.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.3006, allocations: 8 kB / 417.8 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005054/0.3011, allocations: 259.8 kB / 418 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.3031, allocations: 1.492 MB / 419.5 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.3036, allocations: 243.4 kB / 419.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.304, allocations: 181.1 kB / 419.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.304, allocations: 4.234 kB / 419.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004077/0.3044, allocations: 230 kB / 420.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.362e-06/0.3044, allocations: 0 / 420.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001458/0.3059, allocations: 0.5887 MB / 420.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.306, allocations: 114.8 kB / 420.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.3063, allocations: 308.5 kB / 421.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.3064, allocations: 33.7 kB / 421.2 MB, free: 5.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.3065, allocations: 224.3 kB / 421.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.824e-05/0.3066, allocations: 98.64 kB / 421.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3068, allocations: 73.98 kB / 421.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3069, allocations: 346.8 kB / 421.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.3072, allocations: 88.7 kB / 422 MB, free: 4.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.3075, allocations: 217.8 kB / 422.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.308, allocations: 326.1 kB / 422.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.308, allocations: 4 kB / 422.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006744/0.3086, allocations: 421.4 kB / 422.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3087, allocations: 4.5 kB / 422.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3087, allocations: 8 kB / 423 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.309, allocations: 80.81 kB / 423 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.3092, allocations: 59.91 kB / 423.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.3111, allocations: 1.998 MB / 425.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.3113, allocations: 31.73 kB / 425.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.3114, allocations: 20.06 kB / 425.1 MB, free: 1.082 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.0001934/0.3116, allocations: 177.6 kB / 425.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.3116, allocations: 35.56 kB / 425.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.3117, allocations: 39.95 kB / 425.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3117, allocations: 4 kB / 425.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3117, allocations: 4 kB / 425.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3118, allocations: 0 / 425.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005856/0.3123, allocations: 0.5848 MB / 426 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3124, allocations: 7.922 kB / 426 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.3125, allocations: 35.91 kB / 426 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/0.3128, allocations: 72.81 kB / 426.1 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.3128, allocations: 8 kB / 426.1 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.3145, allocations: 1.99 MB / 428.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3145, allocations: 4.031 kB / 428.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008555/0.3154, allocations: 0.491 MB / 428.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.3155, allocations: 144.6 kB / 428.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.3156, allocations: 4 kB / 428.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.3158, allocations: 15.98 kB / 428.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.3158, allocations: 23.97 kB / 428.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.3159, allocations: 8.188 kB / 428.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.3161, allocations: 219.1 kB / 429 MB, free: 12.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3161, allocations: 3.938 kB / 429 MB, free: 12.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.3165, allocations: 115.6 kB / 429.1 MB, free: 12.86 MB / 350.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.0001433/0.3167, allocations: 126.2 kB / 429.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.3174, allocations: 419.4 kB / 429.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3174, allocations: 0 / 429.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003772/0.3178, allocations: 278.5 kB / 429.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.3181, allocations: 71.86 kB / 430 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.3193, allocations: 0.7189 MB / 430.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.3197, allocations: 0.8152 MB / 431.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.3198, allocations: 34.91 kB / 431.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.3199, allocations: 31.42 kB / 431.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3199, allocations: 0 / 431.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Templates: time 0.009246/0.3291, allocations: 4.923 MB / 436.5 MB, free: 5.465 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches