Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009531/0.0009531, allocations: 180.5 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007512/0.0007512, allocations: 91.38 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002299/0.0002299, allocations: 12 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2115, allocations: 50.41 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09862/0.3102, allocations: 86.05 MB / 487.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.3104, allocations: 91.94 kB / 487.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0261/0.3365, allocations: 10.12 MB / 497.8 MB, free: 128 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3366, allocations: 0 / 497.8 MB, free: 128 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.891e-05/0.3366, allocations: 12 kB / 497.8 MB, free: 116 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001391/0.338, allocations: 0.826 MB / 498.6 MB, free: 15.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3381, allocations: 12.03 kB / 498.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.3382, allocations: 67.19 kB / 498.7 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.3387, allocations: 403.4 kB / 499.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.3388, allocations: 40.98 kB / 499.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.73e-05/0.3389, allocations: 52 kB / 499.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009132/0.3398, allocations: 0.528 MB / 499.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3398, allocations: 0 / 499.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.3399, allocations: 20 kB / 499.7 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3399, allocations: 16 kB / 499.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/0.3407, allocations: 407.7 kB / 0.4884 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.3434, allocations: 1.877 MB / 0.4903 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3445, allocations: 443.5 kB / 0.4907 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.3445, allocations: 4.328 kB / 0.4907 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005846/0.3451, allocations: 305.1 kB / 0.491 GB, free: 10.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.723e-06/0.3451, allocations: 4 kB / 0.491 GB, free: 10.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.001641/0.3468, allocations: 0.7214 MB / 0.4917 GB, free: 10.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.3468, allocations: 114.8 kB / 0.4918 GB, free: 10.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.3472, allocations: 336.8 kB / 0.4921 GB, free: 9.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.3473, allocations: 37.7 kB / 0.4921 GB, free: 9.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.3474, allocations: 260.8 kB / 0.4924 GB, free: 9.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.3475, allocations: 134.1 kB / 0.4925 GB, free: 9.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.3476, allocations: 12 kB / 0.4925 GB, free: 9.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3477, allocations: 362.8 kB / 0.4929 GB, free: 8.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.3481, allocations: 149 kB / 0.493 GB, free: 8.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.3485, allocations: 296.4 kB / 0.4933 GB, free: 8.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.3489, allocations: 199.3 kB / 0.4935 GB, free: 8.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3489, allocations: 0 / 0.4935 GB, free: 8.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001015/0.35, allocations: 0.5781 MB / 0.4941 GB, free: 7.586 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004499/0.3504, allocations: 1.339 MB / 0.4954 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3504, allocations: 4 kB / 0.4954 GB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.3507, allocations: 72.81 kB / 0.4954 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.3511, allocations: 99.78 kB / 0.4955 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.3526, allocations: 1.719 MB / 0.4972 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/0.353, allocations: 67.62 kB / 0.4973 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.3531, allocations: 20 kB / 0.4973 GB, free: 4.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.3531, allocations: 6.812 kB / 0.4973 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008677/0.3539, allocations: 498.1 kB / 0.4978 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.354, allocations: 4 kB / 0.4978 GB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.3542, allocations: 72.81 kB / 0.4979 GB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.3545, allocations: 88.17 kB / 0.4979 GB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.3559, allocations: 1.714 MB / 0.4996 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.3562, allocations: 55.66 kB / 0.4997 GB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.3563, allocations: 20 kB / 0.4997 GB, free: 1.441 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002648/0.3566, allocations: 263.7 kB / 0.4999 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.3566, allocations: 47.39 kB / 0.5 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009791/0.3576, allocations: 0.4944 MB / 0.5005 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.3576, allocations: 7.984 kB / 0.5005 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.3576, allocations: 256 / 0.5005 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3576, allocations: 3.984 kB / 0.5005 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1737/0.5313, allocations: 1.085 MB / 0.5015 GB, free: 97.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5314, allocations: 4.453 kB / 0.5015 GB, free: 97.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.5318, allocations: 77.61 kB / 0.5016 GB, free: 97.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002539/0.5321, allocations: 68.47 kB / 0.5017 GB, free: 97.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.5321, allocations: 9.625 kB / 0.5017 GB, free: 97.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.5335, allocations: 1.701 MB / 0.5033 GB, free: 96.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5336, allocations: 3.219 kB / 0.5034 GB, free: 96.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.5351, allocations: 0.7829 MB / 0.5041 GB, free: 95.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.5353, allocations: 154.9 kB / 0.5043 GB, free: 95.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/0.5353, allocations: 11.94 kB / 0.5043 GB, free: 95.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.5357, allocations: 39.25 kB / 0.5043 GB, free: 95.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.5358, allocations: 49.97 kB / 0.5044 GB, free: 95.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.5358, allocations: 14.58 kB / 0.5044 GB, free: 95.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002943/0.5361, allocations: 263.2 kB / 0.5046 GB, free: 95.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5361, allocations: 0 / 0.5046 GB, free: 95.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009348/0.5371, allocations: 250.3 kB / 0.5049 GB, free: 95.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v,loadInductor.i) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y_last,meanVoltage.y_last) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001822/0.5373, allocations: 129.9 kB / 0.505 GB, free: 95.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.539, allocations: 1.022 MB / 0.506 GB, free: 95.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.539, allocations: 2.938 kB / 0.506 GB, free: 95.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006021/0.5396, allocations: 356.7 kB / 0.5063 GB, free: 95.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.54, allocations: 78.95 kB / 0.5064 GB, free: 95.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.5417, allocations: 1.321 MB / 0.5077 GB, free: 94.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.5419, allocations: 0.867 MB / 0.5085 GB, free: 93.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.5421, allocations: 51.8 kB / 0.5086 GB, free: 93.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.348e-05/0.5422, allocations: 38.86 kB / 0.5086 GB, free: 93.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5422, allocations: 7.844 kB / 0.5086 GB, free: 93.79 MB / 378.7 MB Notification: Performance of Templates: time 0.009433/0.5517, allocations: 6.668 MB / 0.5151 GB, free: 93.5 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_RL/ChopperStepDown_RL.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches