Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008102/0.0008102, allocations: 93.69 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.954e-05/1.957e-05, allocations: 4 kB / 343.7 MB, free: 8.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.09883, allocations: 51.49 MB / 395.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3611/0.46, allocations: 87.3 MB / 482.5 MB, free: 5.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.4603, allocations: 90.97 kB / 482.6 MB, free: 5.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0255/0.4858, allocations: 10.49 MB / 493.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4858, allocations: 0 / 493.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.824e-05/0.4859, allocations: 12 kB / 493.1 MB, free: 13.14 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001358/0.4872, allocations: 0.7916 MB / 493.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4873, allocations: 12.03 kB / 493.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.4874, allocations: 63.25 kB / 493.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005923/0.488, allocations: 401.9 kB / 494.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.4881, allocations: 16 kB / 494.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.581e-05/0.4882, allocations: 37.78 kB / 494.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005507/0.4887, allocations: 289.3 kB / 494.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/0.4894, allocations: 430.7 kB / 495.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.4894, allocations: 3.984 kB / 495.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.4895, allocations: 3.953 kB / 495.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.4895, allocations: 12 kB / 495.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/0.492, allocations: 1.776 MB / 496.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007933/0.4929, allocations: 354.9 kB / 497.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/0.4933, allocations: 211.3 kB / 497.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.4933, allocations: 4.328 kB / 497.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004095/0.4937, allocations: 249.1 kB / 497.7 MB, free: 9.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 2.494e-06/0.4937, allocations: 0 / 497.7 MB, free: 9.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006472/0.4944, allocations: 353.1 kB / 498 MB, free: 8.926 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.4945, allocations: 114.5 kB / 498.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.4948, allocations: 275.7 kB / 498.4 MB, free: 8.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.4948, allocations: 34.77 kB / 498.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.495, allocations: 261.3 kB / 498.7 MB, free: 8.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.4952, allocations: 132.2 kB / 498.8 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.4952, allocations: 0 / 498.8 MB, free: 8.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4954, allocations: 356.4 kB / 499.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.4955, allocations: 108.2 kB / 499.3 MB, free: 7.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.4958, allocations: 234.5 kB / 499.5 MB, free: 7.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.4961, allocations: 124.6 kB / 499.6 MB, free: 7.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4961, allocations: 4 kB / 499.6 MB, free: 7.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006722/0.4967, allocations: 415.4 kB / 0.4883 GB, free: 7.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007164/0.4975, allocations: 1.344 MB / 0.4896 GB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4975, allocations: 4 kB / 0.4896 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/0.4978, allocations: 72.56 kB / 0.4897 GB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.4982, allocations: 103.4 kB / 0.4898 GB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.4997, allocations: 1.625 MB / 0.4914 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.5001, allocations: 59.62 kB / 0.4915 GB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.5002, allocations: 23.3 kB / 0.4915 GB, free: 3.973 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.5002, allocations: 4 kB / 0.4915 GB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006159/0.5008, allocations: 354.6 kB / 0.4918 GB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5008, allocations: 4 kB / 0.4918 GB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.501, allocations: 72.45 kB / 0.4919 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.5013, allocations: 95.75 kB / 0.492 GB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.5027, allocations: 1.628 MB / 0.4936 GB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.503, allocations: 47.61 kB / 0.4936 GB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.5031, allocations: 23.17 kB / 0.4936 GB, free: 1.938 MB / 362.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 () * 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.0001755/0.5032, allocations: 127 kB / 0.4938 GB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.5033, allocations: 43.48 kB / 0.4938 GB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006688/0.504, allocations: 384.8 kB / 0.4942 GB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.504, allocations: 8.047 kB / 0.4942 GB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.504, allocations: 3.984 kB / 0.4942 GB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.5041, allocations: 3.984 kB / 0.4942 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.5053, allocations: 0.9192 MB / 0.4951 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5053, allocations: 3.984 kB / 0.4951 GB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.5057, allocations: 74.52 kB / 0.4952 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/0.5059, allocations: 66.52 kB / 0.4952 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.5059, allocations: 9.469 kB / 0.4952 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.5072, allocations: 1.617 MB / 0.4968 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.5072, allocations: 11.97 kB / 0.4968 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008136/0.5081, allocations: 0.6394 MB / 0.4974 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.5082, allocations: 146.8 kB / 0.4976 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.5083, allocations: 11.11 kB / 0.4976 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.5086, allocations: 35.92 kB / 0.4976 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.5087, allocations: 43.44 kB / 0.4977 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.5088, allocations: 19.61 kB / 0.4977 GB, free: 14.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002127/0.509, allocations: 211.4 kB / 0.4979 GB, free: 14.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.509, allocations: 0 / 0.4979 GB, free: 14.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009244/0.5099, allocations: 231.1 kB / 0.4981 GB, free: 13.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * 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.0001951/0.5101, allocations: 124.3 kB / 0.4982 GB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.5113, allocations: 0.8583 MB / 0.4991 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5114, allocations: 0 / 0.4991 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.5118, allocations: 310.9 kB / 0.4994 GB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.5123, allocations: 68.36 kB / 0.4994 GB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.5138, allocations: 0.8028 MB / 0.5002 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.5143, allocations: 0.8715 MB / 0.5011 GB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.5146, allocations: 59.33 kB / 0.5011 GB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.5147, allocations: 35.42 kB / 0.5012 GB, free: 10.95 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5147, allocations: 0 / 0.5012 GB, free: 10.95 MB / 378.7 MB Notification: Performance of Templates: time 0.01173/0.5264, allocations: 6.442 MB / 0.5074 GB, free: 4.672 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches