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.001662/0.001662, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000815/0.000815, allocations: 95.81 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.712e-05/1.714e-05, allocations: 4 kB / 343.7 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09486, allocations: 51.47 MB / 395.2 MB, free: 4.711 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2845/0.3794, allocations: 84.51 MB / 479.7 MB, free: 8.629 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.3797, allocations: 89.16 kB / 479.8 MB, free: 8.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03186/0.4116, allocations: 13.78 MB / 493.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4116, allocations: 0 / 493.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.604e-05/0.4117, allocations: 24.16 kB / 493.6 MB, free: 13.2 MB / 362.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.001896/0.4136, allocations: 0.9575 MB / 494.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4136, allocations: 13.7 kB / 494.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005104/0.4142, allocations: 134.4 kB / 494.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.4152, allocations: 0.6192 MB / 495.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.4153, allocations: 27.17 kB / 495.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.4154, allocations: 36 kB / 495.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001087/0.4165, allocations: 0.6747 MB / 496 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.4177, allocations: 0.7932 MB / 496.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.4177, allocations: 0 / 496.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.827e-05/0.4178, allocations: 4 kB / 496.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/0.4178, allocations: 32.58 kB / 496.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/0.4217, allocations: 2.707 MB / 499.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007232/0.4224, allocations: 0.6984 MB / 0.4885 GB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/0.4229, allocations: 316.3 kB / 0.4889 GB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.4229, allocations: 4.328 kB / 0.4889 GB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004636/0.4234, allocations: 346.2 kB / 0.4892 GB, free: 7.203 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.4234, allocations: 0 / 0.4892 GB, free: 7.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001061/0.4245, allocations: 0.6272 MB / 0.4898 GB, free: 6.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.4245, allocations: 114.6 kB / 0.4899 GB, free: 6.598 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.4251, allocations: 480.7 kB / 0.4904 GB, free: 6.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.4251, allocations: 29.69 kB / 0.4904 GB, free: 6.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.4254, allocations: 359.7 kB / 0.4907 GB, free: 5.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.915e-05/0.4255, allocations: 125.1 kB / 0.4909 GB, free: 5.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.4255, allocations: 0 / 0.4909 GB, free: 5.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4256, allocations: 369.9 kB / 0.4912 GB, free: 5.473 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.4259, allocations: 194.2 kB / 0.4914 GB, free: 5.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.4262, allocations: 312.3 kB / 0.4917 GB, free: 5.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.4265, allocations: 213 kB / 0.4919 GB, free: 4.934 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4265, allocations: 3.938 kB / 0.4919 GB, free: 4.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009406/0.4275, allocations: 0.6562 MB / 0.4925 GB, free: 4.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.4275, allocations: 11.98 kB / 0.4926 GB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4275, allocations: 11.94 kB / 0.4926 GB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/0.4281, allocations: 197.3 kB / 0.4928 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.4284, allocations: 71.28 kB / 0.4928 GB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/0.431, allocations: 2.581 MB / 0.4953 GB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.4314, allocations: 43.7 kB / 0.4954 GB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.4314, allocations: 20 kB / 0.4954 GB, free: 1.758 MB / 362.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 () * 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.0001549/0.4316, allocations: 132.7 kB / 0.4955 GB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4317, allocations: 51.34 kB / 0.4956 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.4319, allocations: 65.38 kB / 0.4956 GB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.4319, allocations: 8.094 kB / 0.4956 GB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4319, allocations: 7.922 kB / 0.4957 GB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4319, allocations: 3.984 kB / 0.4957 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.4339, allocations: 1.456 MB / 0.4971 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.434, allocations: 0 / 0.4971 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.4342, allocations: 51.91 kB / 0.4971 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004114/0.4346, allocations: 193.5 kB / 0.4973 GB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.4347, allocations: 11.98 kB / 0.4973 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.4374, allocations: 2.556 MB / 0.4998 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4375, allocations: 0 / 0.4998 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.4388, allocations: 1.014 MB / 0.5008 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.4391, allocations: 188.3 kB / 0.501 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.143e-05/0.4392, allocations: 19.41 kB / 0.501 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.4395, allocations: 27.91 kB / 0.501 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.4396, allocations: 39.94 kB / 0.5011 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.4397, allocations: 19.98 kB / 0.5011 GB, free: 11.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004649/0.4402, allocations: 374.9 kB / 0.5015 GB, free: 11.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4402, allocations: 0 / 0.5015 GB, free: 11.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007215/0.4409, allocations: 187.3 kB / 0.5016 GB, free: 11.16 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) * 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.0001781/0.4411, allocations: 123.3 kB / 0.5017 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009831/0.4421, allocations: 0.6492 MB / 0.5024 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.4421, allocations: 0 / 0.5024 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005605/0.4427, allocations: 434.2 kB / 0.5028 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.4433, allocations: 122.1 kB / 0.5029 GB, free: 9.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.4453, allocations: 1.063 MB / 0.504 GB, free: 8.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007332/0.4461, allocations: 1.093 MB / 0.505 GB, free: 7.605 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002672/0.4464, allocations: 88.66 kB / 0.5051 GB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.4e-05/0.4465, allocations: 31.44 kB / 0.5051 GB, free: 7.488 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4465, allocations: 0 / 0.5051 GB, free: 7.488 MB / 378.7 MB Notification: Performance of Templates: time 0.01379/0.4603, allocations: 8.042 MB / 0.513 GB, free: 15.61 MB / 394.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/jenkins/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