Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008733/0.0008732, allocations: 183.8 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.4 MB / 224.2 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007746/0.0007745, allocations: 93.48 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002772, allocations: 16 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1921, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08384/0.276, allocations: 83.43 MB / 460.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.2762, allocations: 87.94 kB / 460.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01813/0.2944, allocations: 7.023 MB / 467.6 MB, free: 5.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2944, allocations: 0 / 467.6 MB, free: 5.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.2944, allocations: 8 kB / 467.6 MB, free: 5.961 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001103/0.2955, allocations: 0.7257 MB / 468.3 MB, free: 5.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2956, allocations: 12.03 kB / 468.3 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.94e-05/0.2957, allocations: 52.31 kB / 468.4 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.2962, allocations: 376.1 kB / 468.7 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.2962, allocations: 37.38 kB / 468.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.2963, allocations: 40.38 kB / 468.8 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007809/0.2971, allocations: 441.2 kB / 469.3 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.2971, allocations: 8.094 kB / 469.3 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.2971, allocations: 23.94 kB / 469.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.2972, allocations: 8 kB / 469.3 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.2978, allocations: 307.8 kB / 469.6 MB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.3, allocations: 1.601 MB / 471.2 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.3006, allocations: 290.7 kB / 471.5 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.301, allocations: 152.8 kB / 471.6 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.301, allocations: 15.91 kB / 471.6 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000404/0.3014, allocations: 236.2 kB / 471.9 MB, free: 1.426 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.684e-06/0.3014, allocations: 4 kB / 471.9 MB, free: 1.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.001372/0.3028, allocations: 0.5876 MB / 472.5 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.3029, allocations: 144.5 kB / 472.6 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/0.3033, allocations: 373.6 kB / 473 MB, free: 268 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.3034, allocations: 33.7 kB / 473 MB, free: 228 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.3035, allocations: 216.5 kB / 473.2 MB, free: 8 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.156e-05/0.3036, allocations: 106.5 kB / 473.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.3037, allocations: 8 kB / 473.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3038, allocations: 350.7 kB / 473.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.3041, allocations: 120.8 kB / 473.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.3044, allocations: 250.9 kB / 474 MB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/0.305, allocations: 353.1 kB / 474.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.305, allocations: 4 kB / 474.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008436/0.3059, allocations: 485.4 kB / 474.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.306, allocations: 224.1 kB / 475.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.306, allocations: 4 kB / 475.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002976/0.3063, allocations: 88.73 kB / 475.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.3065, allocations: 51.91 kB / 475.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.3084, allocations: 1.811 MB / 477 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.3087, allocations: 63.84 kB / 477.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.3087, allocations: 15.94 kB / 477.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/0.3087, allocations: 7.938 kB / 477.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006705/0.3094, allocations: 403.4 kB / 477.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.3094, allocations: 4.469 kB / 477.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/0.3097, allocations: 92.67 kB / 477.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.3099, allocations: 55.92 kB / 477.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.3116, allocations: 1.827 MB / 479.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.3118, allocations: 51.78 kB / 479.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3119, allocations: 16 kB / 479.5 MB, free: 9.195 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$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 (39): * Single equations (assignments): 37 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002332/0.3121, allocations: 255.2 kB / 479.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.3122, allocations: 39.53 kB / 479.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.664e-05/0.3123, allocations: 44.09 kB / 479.9 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3123, allocations: 4 kB / 479.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3123, allocations: 0 / 479.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3123, allocations: 11.88 kB / 479.9 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.3136, allocations: 0.9842 MB / 480.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3136, allocations: 0 / 480.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.3137, allocations: 23.98 kB / 480.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/0.314, allocations: 80.78 kB / 481 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.314, allocations: 8 kB / 481 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.3156, allocations: 1.757 MB / 482.7 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3156, allocations: 0 / 482.7 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008579/0.3164, allocations: 0.5748 MB / 483.3 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.3166, allocations: 148.5 kB / 483.5 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.3167, allocations: 8 kB / 483.5 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.3169, allocations: 31.97 kB / 483.5 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.317, allocations: 47.89 kB / 483.6 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.3171, allocations: 8 kB / 483.6 MB, free: 4.934 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002996/0.3174, allocations: 263.2 kB / 483.8 MB, free: 4.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3174, allocations: 0 / 483.8 MB, free: 4.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007239/0.3181, allocations: 203.5 kB / 484 MB, free: 4.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * 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,meanVoltage.y) * 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 (26): * Single equations (assignments): 19 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001423/0.3183, allocations: 119.4 kB / 484.1 MB, free: 4.352 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.3196, allocations: 0.8803 MB / 485 MB, free: 3.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3196, allocations: 5.062 kB / 485 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.32, allocations: 290.5 kB / 485.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.3205, allocations: 73.31 kB / 485.4 MB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.3219, allocations: 0.9198 MB / 486.3 MB, free: 2.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3223, allocations: 0.8157 MB / 487.1 MB, free: 1.266 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.3225, allocations: 51.19 kB / 487.2 MB, free: 1.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.3225, allocations: 31.42 kB / 487.2 MB, free: 1.188 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3225, allocations: 0 / 487.2 MB, free: 1.188 MB / 362.7 MB Notification: Performance of Templates: time 0.01041/0.333, allocations: 6.115 MB / 493.3 MB, free: 11.09 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_R/ChopperStepDown_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches