Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.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.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008979/0.0008978, allocations: 172.5 kB / 17.39 MB, free: 4.184 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.34/1.34, allocations: 223.3 MB / 241.4 MB, free: 11.71 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.0007897/0.0007896, allocations: 99.31 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 15.94 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1854, allocations: 50.39 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09219/0.2776, allocations: 85.95 MB / 488.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.2779, allocations: 91.94 kB / 488.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02618/0.3041, allocations: 9.798 MB / 498.6 MB, free: 440 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3041, allocations: 0 / 498.6 MB, free: 440 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.3042, allocations: 15.98 kB / 498.6 MB, free: 424 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001446/0.3056, allocations: 0.8068 MB / 499.4 MB, free: 15.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3057, allocations: 12.02 kB / 499.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.3058, allocations: 64.19 kB / 499.5 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.3063, allocations: 412.5 kB / 499.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.3064, allocations: 37.38 kB / 499.9 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.3065, allocations: 44.38 kB / 500 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009081/0.3074, allocations: 0.5129 MB / 0.4888 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.3074, allocations: 3.938 kB / 0.4888 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/0.3075, allocations: 23.98 kB / 0.4888 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3075, allocations: 12 kB / 0.4888 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000827/0.3083, allocations: 391.7 kB / 0.4892 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.3107, allocations: 1.772 MB / 0.4909 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.3119, allocations: 450.6 kB / 0.4913 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/0.3124, allocations: 260.7 kB / 0.4916 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.3125, allocations: 8 kB / 0.4916 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005443/0.313, allocations: 296.7 kB / 0.4919 GB, free: 11.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.313, allocations: 0 / 0.4919 GB, free: 11.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001664/0.3147, allocations: 0.7208 MB / 0.4926 GB, free: 10.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.3148, allocations: 114.8 kB / 0.4927 GB, free: 10.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.3152, allocations: 369.6 kB / 0.493 GB, free: 9.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.3152, allocations: 33.7 kB / 0.4931 GB, free: 9.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.3154, allocations: 252.2 kB / 0.4933 GB, free: 9.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.532e-05/0.3155, allocations: 126.2 kB / 0.4934 GB, free: 9.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.3155, allocations: 12 kB / 0.4934 GB, free: 9.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3157, allocations: 346.8 kB / 0.4938 GB, free: 9.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.316, allocations: 153 kB / 0.4939 GB, free: 8.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.3165, allocations: 292 kB / 0.4942 GB, free: 8.602 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.3172, allocations: 435.1 kB / 0.4946 GB, free: 8.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3173, allocations: 4 kB / 0.4946 GB, free: 8.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001086/0.3184, allocations: 0.5501 MB / 0.4951 GB, free: 7.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.3185, allocations: 222.5 kB / 0.4954 GB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3185, allocations: 7.938 kB / 0.4954 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/0.3188, allocations: 72.81 kB / 0.4954 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.3192, allocations: 95.88 kB / 0.4955 GB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.3209, allocations: 1.698 MB / 0.4972 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.3212, allocations: 63.56 kB / 0.4972 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.3213, allocations: 20 kB / 0.4973 GB, free: 5.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/0.3213, allocations: 4 kB / 0.4973 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000864/0.3222, allocations: 482.1 kB / 0.4977 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3222, allocations: 4.156 kB / 0.4977 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.3224, allocations: 76.88 kB / 0.4978 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.3227, allocations: 91.81 kB / 0.4979 GB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.3241, allocations: 1.69 MB / 0.4995 GB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.3244, allocations: 55.66 kB / 0.4996 GB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.3245, allocations: 20 kB / 0.4996 GB, free: 2.641 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,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (50): * Single equations (assignments): 48 * 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.0002636/0.3248, allocations: 255.2 kB / 0.4999 GB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.3248, allocations: 51.45 kB / 0.4999 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009685/0.3258, allocations: 471 kB / 0.5004 GB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.3258, allocations: 12.03 kB / 0.5004 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3258, allocations: 7.984 kB / 0.5004 GB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.3259, allocations: 0 / 0.5004 GB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.3275, allocations: 1.079 MB / 0.5014 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3275, allocations: 0 / 0.5014 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.3278, allocations: 67.95 kB / 0.5015 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001848/0.328, allocations: 64.81 kB / 0.5016 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.3281, allocations: 15.98 kB / 0.5016 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.165/0.493, allocations: 1.677 MB / 0.5032 GB, free: 96.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4931, allocations: 2.047 kB / 0.5032 GB, free: 96.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.4946, allocations: 0.7509 MB / 0.5039 GB, free: 96.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.4947, allocations: 153.5 kB / 0.5041 GB, free: 96.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.4948, allocations: 10.97 kB / 0.5041 GB, free: 96.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.4952, allocations: 42.77 kB / 0.5041 GB, free: 96.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.4953, allocations: 42.78 kB / 0.5042 GB, free: 96.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.4954, allocations: 18.25 kB / 0.5042 GB, free: 96.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003269/0.4957, allocations: 257 kB / 0.5044 GB, free: 96.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4957, allocations: 0 / 0.5044 GB, free: 96.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008985/0.4966, allocations: 237 kB / 0.5047 GB, free: 96.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (36): * Single equations (assignments): 29 * 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.0001625/0.4968, allocations: 126.8 kB / 0.5048 GB, free: 96.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.4985, allocations: 0.9994 MB / 0.5058 GB, free: 95.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4985, allocations: 0 / 0.5058 GB, free: 95.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005285/0.4991, allocations: 353.3 kB / 0.5061 GB, free: 95.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.4996, allocations: 90.03 kB / 0.5062 GB, free: 95.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.5015, allocations: 1.209 MB / 0.5074 GB, free: 95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.5019, allocations: 0.8469 MB / 0.5082 GB, free: 94.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.5022, allocations: 54.41 kB / 0.5083 GB, free: 94.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/0.5023, allocations: 32.59 kB / 0.5083 GB, free: 94.28 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5023, allocations: 0 / 0.5083 GB, free: 94.28 MB / 378.7 MB Notification: Performance of Templates: time 0.009757/0.512, allocations: 6.637 MB / 0.5148 GB, free: 93.98 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepUp/ChopperStepUp_R/ChopperStepUp_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches