Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002421/0.00242, allocations: 177.8 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 89.28 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.123e-05, allocations: 0 / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3227, allocations: 47.57 MB / 362.4 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.451, allocations: 79.78 MB / 442.1 MB, free: 6.527 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/0.4514, allocations: 87.84 kB / 442.2 MB, free: 6.445 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02771/0.4791, allocations: 6.212 MB / 448.4 MB, free: 268 kB / 331.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4792, allocations: 0 / 448.4 MB, free: 268 kB / 331.1 MB Notification: Performance of Transformations before backend: time 3.389e-05/0.4792, allocations: 16 kB / 448.5 MB, free: 252 kB / 331.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001482/0.4807, allocations: 0.6006 MB / 449.1 MB, free: 15.6 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4808, allocations: 16.03 kB / 449.1 MB, free: 15.58 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.481, allocations: 51.22 kB / 449.1 MB, free: 15.54 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.4817, allocations: 334.9 kB / 449.4 MB, free: 15.17 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.4817, allocations: 8 kB / 449.5 MB, free: 15.16 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.4818, allocations: 28.78 kB / 449.5 MB, free: 15.13 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006795/0.4825, allocations: 209.5 kB / 449.7 MB, free: 14.93 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.4833, allocations: 309.1 kB / 450 MB, free: 14.61 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4834, allocations: 4 kB / 450 MB, free: 14.61 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.4835, allocations: 4 kB / 450 MB, free: 14.6 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.4835, allocations: 8 kB / 450 MB, free: 14.59 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.4869, allocations: 1.416 MB / 451.4 MB, free: 13.09 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.4875, allocations: 212.2 kB / 451.6 MB, free: 12.88 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.488, allocations: 145.3 kB / 451.8 MB, free: 12.73 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.488, allocations: 6.297 kB / 451.8 MB, free: 12.73 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004937/0.4885, allocations: 202 kB / 452 MB, free: 12.51 MB / 347.1 MB Notification: Performance of pre-optimization done (n=31): time 2.886e-06/0.4886, allocations: 0 / 452 MB, free: 12.51 MB / 347.1 MB Notification: Performance of matching and sorting (n=31): time 0.001016/0.4896, allocations: 296.7 kB / 452.3 MB, free: 12.21 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.4897, allocations: 110.8 kB / 452.4 MB, free: 12.08 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.4901, allocations: 234.3 kB / 452.6 MB, free: 11.84 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.4902, allocations: 25.7 kB / 452.6 MB, free: 11.81 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.4904, allocations: 270.8 kB / 452.9 MB, free: 11.55 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.4905, allocations: 94.64 kB / 453 MB, free: 11.45 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.4906, allocations: 0 / 453 MB, free: 11.45 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4907, allocations: 326.8 kB / 453.3 MB, free: 11.12 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.4909, allocations: 67.98 kB / 453.4 MB, free: 11.06 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.4913, allocations: 189.9 kB / 453.6 MB, free: 10.82 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.4915, allocations: 87.94 kB / 453.6 MB, free: 10.73 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.4916, allocations: 0 / 453.6 MB, free: 10.73 MB / 347.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000894/0.4925, allocations: 327.4 kB / 454 MB, free: 10.41 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4925, allocations: 8 kB / 454 MB, free: 10.4 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4925, allocations: 4 kB / 454 MB, free: 10.39 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000441/0.493, allocations: 83.72 kB / 454 MB, free: 10.31 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.4934, allocations: 59.84 kB / 454.1 MB, free: 10.25 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.496, allocations: 1.728 MB / 455.8 MB, free: 8.414 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.4964, allocations: 35.64 kB / 455.9 MB, free: 8.379 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.4965, allocations: 16.06 kB / 455.9 MB, free: 8.363 MB / 347.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: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.4967, allocations: 118.6 kB / 456 MB, free: 8.242 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.4967, allocations: 35.62 kB / 456 MB, free: 8.207 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.4969, allocations: 31.47 kB / 456.1 MB, free: 8.176 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.4969, allocations: 8.031 kB / 456.1 MB, free: 8.168 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4969, allocations: 0 / 456.1 MB, free: 8.168 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.4969, allocations: 0 / 456.1 MB, free: 8.168 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008821/0.4978, allocations: 0.5141 MB / 456.6 MB, free: 7.609 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4978, allocations: 0 / 456.6 MB, free: 7.609 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.4982, allocations: 35.97 kB / 456.6 MB, free: 7.574 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000365/0.4986, allocations: 76.77 kB / 456.7 MB, free: 7.496 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.4986, allocations: 3.984 kB / 456.7 MB, free: 7.492 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.501, allocations: 1.716 MB / 458.4 MB, free: 5.66 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5011, allocations: 8.031 kB / 458.4 MB, free: 5.652 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.5023, allocations: 456.8 kB / 458.9 MB, free: 5.172 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.5026, allocations: 140.7 kB / 459 MB, free: 5.016 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.5027, allocations: 3.953 kB / 459 MB, free: 5.012 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.503, allocations: 15.98 kB / 459 MB, free: 4.996 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5031, allocations: 19.97 kB / 459 MB, free: 4.977 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.5031, allocations: 15.98 kB / 459.1 MB, free: 4.961 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002939/0.5035, allocations: 185.9 kB / 459.2 MB, free: 4.777 MB / 347.1 MB Notification: Performance of sort global known variables: time 4e-07/0.5035, allocations: 0 / 459.2 MB, free: 4.777 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0007422/0.5042, allocations: 106.2 kB / 459.4 MB, free: 4.676 MB / 347.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001967/0.5044, allocations: 107.2 kB / 459.5 MB, free: 4.562 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.000953/0.5054, allocations: 359.1 kB / 459.8 MB, free: 4.203 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.5054, allocations: 0 / 459.8 MB, free: 4.203 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.506, allocations: 261.4 kB / 460.1 MB, free: 3.938 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.5064, allocations: 32.86 kB / 460.1 MB, free: 3.902 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.508, allocations: 0.5063 MB / 460.6 MB, free: 3.359 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.5085, allocations: 0.8029 MB / 461.4 MB, free: 2.527 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.5087, allocations: 31.42 kB / 461.4 MB, free: 2.496 MB / 347.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5087, allocations: 0 / 461.4 MB, free: 2.496 MB / 347.1 MB Notification: Performance of Templates: time 0.01327/0.5219, allocations: 5.519 MB / 467 MB, free: 13.01 MB / 363.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches