Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 226.5 MB / 245.4 MB, free: 6.422 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007683/0.0007683, allocations: 93 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002153/0.0002152, allocations: 8 kB / 358.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2388, allocations: 51.3 MB / 409.4 MB, free: 27.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.3507, allocations: 85.21 MB / 494.6 MB, free: 6.258 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.3511, allocations: 89.22 kB / 494.7 MB, free: 6.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03654/0.3876, allocations: 13.89 MB / 0.4967 GB, free: 8.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.808e-06/0.3877, allocations: 0 / 0.4967 GB, free: 8.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.421e-05/0.3877, allocations: 19.94 kB / 0.4967 GB, free: 8.156 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001761/0.3895, allocations: 1.042 MB / 0.4977 GB, free: 7.062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3895, allocations: 12.02 kB / 0.4977 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.3899, allocations: 131.8 kB / 0.4978 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009406/0.3909, allocations: 0.6352 MB / 0.4985 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.3909, allocations: 45.69 kB / 0.4985 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.391, allocations: 72.27 kB / 0.4986 GB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.3926, allocations: 0.912 MB / 0.4995 GB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.3926, allocations: 11.88 kB / 0.4995 GB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/0.3927, allocations: 24 kB / 0.4995 GB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/0.3928, allocations: 45.23 kB / 0.4995 GB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.394, allocations: 0.7585 MB / 0.5003 GB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004173/0.3982, allocations: 2.846 MB / 0.5031 GB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00093/0.3991, allocations: 0.7516 MB / 0.5038 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.3997, allocations: 352.4 kB / 0.5041 GB, free: 236 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.3998, allocations: 4.328 kB / 0.5041 GB, free: 232 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2306/0.6304, allocations: 381.8 kB / 0.5045 GB, free: 92.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.316e-06/0.6304, allocations: 0 / 0.5045 GB, free: 92.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003354/0.6338, allocations: 1.215 MB / 0.5057 GB, free: 91.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.6339, allocations: 115.8 kB / 0.5058 GB, free: 91.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009313/0.6348, allocations: 0.571 MB / 0.5063 GB, free: 91.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.6349, allocations: 35.75 kB / 0.5064 GB, free: 91.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/0.6353, allocations: 361.8 kB / 0.5067 GB, free: 91.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.6354, allocations: 137 kB / 0.5069 GB, free: 91.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.6354, allocations: 8.25 kB / 0.5069 GB, free: 91.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.6356, allocations: 367.9 kB / 0.5072 GB, free: 91.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.6361, allocations: 223.3 kB / 0.5074 GB, free: 91.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/0.6366, allocations: 358.3 kB / 0.5078 GB, free: 91.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009178/0.6375, allocations: 0.565 MB / 0.5083 GB, free: 90.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.6375, allocations: 7.859 kB / 0.5083 GB, free: 90.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001381/0.6389, allocations: 0.7468 MB / 0.5091 GB, free: 90.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.639, allocations: 6.5 kB / 0.5091 GB, free: 90.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.639, allocations: 4.219 kB / 0.5091 GB, free: 90.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006585/0.6396, allocations: 201.4 kB / 0.5093 GB, free: 90.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.64, allocations: 80.44 kB / 0.5093 GB, free: 90.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/0.6433, allocations: 2.673 MB / 0.5119 GB, free: 89.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.6438, allocations: 54.41 kB / 0.512 GB, free: 89.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.6438, allocations: 14.84 kB / 0.512 GB, free: 89.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005789/0.6444, allocations: 334.9 kB / 0.5123 GB, free: 89.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.6445, allocations: 54.19 kB / 0.5124 GB, free: 89.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.6446, allocations: 69.47 kB / 0.5125 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.6446, allocations: 3.406 kB / 0.5125 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.6446, allocations: 3.594 kB / 0.5125 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.6447, allocations: 4.5 kB / 0.5125 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.6468, allocations: 1.65 MB / 0.5141 GB, free: 88.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6468, allocations: 0 / 0.5141 GB, free: 88.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.647, allocations: 55.98 kB / 0.5141 GB, free: 88.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003649/0.6474, allocations: 201.2 kB / 0.5143 GB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.6475, allocations: 11.12 kB / 0.5143 GB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.6498, allocations: 2.648 MB / 0.5169 GB, free: 86.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.6498, allocations: 0 / 0.5169 GB, free: 86.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.6512, allocations: 1.105 MB / 0.518 GB, free: 85.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.6515, allocations: 201.7 kB / 0.5182 GB, free: 85.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.6515, allocations: 7.469 kB / 0.5182 GB, free: 85.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.6518, allocations: 31.38 kB / 0.5182 GB, free: 85.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6519, allocations: 46.47 kB / 0.5183 GB, free: 85.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.652, allocations: 11.66 kB / 0.5183 GB, free: 85.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003961/0.6524, allocations: 422.3 kB / 0.5187 GB, free: 85.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6524, allocations: 0 / 0.5187 GB, free: 85.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006658/0.653, allocations: 205.6 kB / 0.5189 GB, free: 85.59 MB / 378.7 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.6532, allocations: 130.8 kB / 0.519 GB, free: 85.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.6542, allocations: 0.7207 MB / 0.5197 GB, free: 85.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6542, allocations: 0 / 0.5197 GB, free: 85.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005263/0.6548, allocations: 488 kB / 0.5202 GB, free: 84.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.6555, allocations: 144.2 kB / 0.5203 GB, free: 84.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.6574, allocations: 1.702 MB / 0.522 GB, free: 83.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.6579, allocations: 1.074 MB / 0.523 GB, free: 83.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000247/0.6581, allocations: 94.66 kB / 0.5231 GB, free: 83.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.6582, allocations: 39.22 kB / 0.5231 GB, free: 83.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6582, allocations: 0 / 0.5231 GB, free: 83.16 MB / 378.7 MB Notification: Performance of Templates: time 0.01606/0.6743, allocations: 9.286 MB / 0.5322 GB, free: 77.89 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches