Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009015/0.0009015, allocations: 199.8 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007278/0.0007279, allocations: 92.8 kB / 297.4 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002036/0.0002037, allocations: 4 kB / 357.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1807, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09014/0.2709, allocations: 85.21 MB / 493.9 MB, free: 6.359 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.2712, allocations: 96.41 kB / 494 MB, free: 6.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0348/0.306, allocations: 13.88 MB / 0.496 GB, free: 8.281 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.306, allocations: 0 / 0.496 GB, free: 8.281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.23e-05/0.3061, allocations: 19.94 kB / 0.496 GB, free: 8.262 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.002/0.3081, allocations: 1.046 MB / 0.497 GB, free: 7.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3082, allocations: 8.031 kB / 0.497 GB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/0.3086, allocations: 131.8 kB / 0.4971 GB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.3097, allocations: 0.6391 MB / 0.4978 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.3097, allocations: 49.69 kB / 0.4978 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.3099, allocations: 72.27 kB / 0.4979 GB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.3114, allocations: 0.9081 MB / 0.4988 GB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.3114, allocations: 3.938 kB / 0.4988 GB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/0.3115, allocations: 39.97 kB / 0.4988 GB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.3115, allocations: 29.31 kB / 0.4988 GB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.3128, allocations: 0.7624 MB / 0.4996 GB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/0.3167, allocations: 2.838 MB / 0.5023 GB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008448/0.3175, allocations: 0.7598 MB / 0.5031 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005705/0.3181, allocations: 345.9 kB / 0.5034 GB, free: 352 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/0.3182, allocations: 16.23 kB / 0.5034 GB, free: 336 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1819/0.5001, allocations: 377.7 kB / 0.5038 GB, free: 92.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 5.19e-06/0.5001, allocations: 0 / 0.5038 GB, free: 92.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.004854/0.505, allocations: 1.223 MB / 0.505 GB, free: 92.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.5051, allocations: 109.4 kB / 0.5051 GB, free: 91.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.5062, allocations: 0.5675 MB / 0.5056 GB, free: 91.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.5063, allocations: 38.52 kB / 0.5057 GB, free: 91.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.5066, allocations: 369 kB / 0.506 GB, free: 91.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.5068, allocations: 130.4 kB / 0.5062 GB, free: 91.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.5068, allocations: 8.938 kB / 0.5062 GB, free: 91.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.507, allocations: 367 kB / 0.5065 GB, free: 91.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/0.5076, allocations: 222 kB / 0.5067 GB, free: 91.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.5082, allocations: 358.5 kB / 0.5071 GB, free: 91.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.5095, allocations: 0.5652 MB / 0.5076 GB, free: 91.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.5095, allocations: 6.453 kB / 0.5076 GB, free: 91.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001907/0.5114, allocations: 0.7537 MB / 0.5084 GB, free: 90.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.5115, allocations: 5.5 kB / 0.5084 GB, free: 90.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.5115, allocations: 4.125 kB / 0.5084 GB, free: 90.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007166/0.5122, allocations: 199.6 kB / 0.5086 GB, free: 90.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.5127, allocations: 80.69 kB / 0.5086 GB, free: 90.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004231/0.5169, allocations: 2.667 MB / 0.5112 GB, free: 89.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/0.5175, allocations: 59.03 kB / 0.5113 GB, free: 89.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.5176, allocations: 15.59 kB / 0.5113 GB, free: 89.59 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.0005514/0.5181, allocations: 331.8 kB / 0.5116 GB, free: 89.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.5182, allocations: 60.59 kB / 0.5117 GB, free: 89.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.5184, allocations: 68.45 kB / 0.5118 GB, free: 89.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5184, allocations: 6.031 kB / 0.5118 GB, free: 89.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5185, allocations: 3.562 kB / 0.5118 GB, free: 89.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.5185, allocations: 3.188 kB / 0.5118 GB, free: 89.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.5215, allocations: 1.648 MB / 0.5134 GB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5215, allocations: 0 / 0.5134 GB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.5218, allocations: 50.16 kB / 0.5134 GB, free: 88.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005636/0.5224, allocations: 197.4 kB / 0.5136 GB, free: 88.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.5225, allocations: 14.38 kB / 0.5136 GB, free: 88.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003382/0.5259, allocations: 2.647 MB / 0.5162 GB, free: 86.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5259, allocations: 1.312 kB / 0.5162 GB, free: 86.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.5281, allocations: 1.106 MB / 0.5173 GB, free: 86.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.5284, allocations: 201.2 kB / 0.5175 GB, free: 85.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.5285, allocations: 7.938 kB / 0.5175 GB, free: 85.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.529, allocations: 28.75 kB / 0.5175 GB, free: 85.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.5291, allocations: 47.16 kB / 0.5176 GB, free: 85.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.5292, allocations: 18.53 kB / 0.5176 GB, free: 85.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006359/0.5298, allocations: 423.3 kB / 0.518 GB, free: 85.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5299, allocations: 0 / 0.518 GB, free: 85.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009917/0.5309, allocations: 204.5 kB / 0.5182 GB, free: 85.75 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.0001686/0.531, allocations: 128.6 kB / 0.5183 GB, free: 85.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.5327, allocations: 0.7189 MB / 0.519 GB, free: 85.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5327, allocations: 7.688 kB / 0.519 GB, free: 85.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000961/0.5336, allocations: 490.5 kB / 0.5195 GB, free: 85.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.5348, allocations: 142.6 kB / 0.5196 GB, free: 85.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.5378, allocations: 1.729 MB / 0.5213 GB, free: 84.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/0.5385, allocations: 1.06 MB / 0.5223 GB, free: 83.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.5387, allocations: 38.84 kB / 0.5224 GB, free: 83.3 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5387, allocations: 7.906 kB / 0.5224 GB, free: 83.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01754/0.5562, allocations: 12.78 MB / 0.5349 GB, free: 74.56 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches