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_RL.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009231/0.0009227, allocations: 182.6 kB / 18.04 MB, free: 3.789 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.244/1.244, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0006875/0.0006876, allocations: 88.98 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002776, allocations: 8 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1908, allocations: 47.58 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08851/0.2793, allocations: 83.72 MB / 460.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.2796, allocations: 91.94 kB / 460.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01909/0.2987, allocations: 7.35 MB / 468.2 MB, free: 5.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2987, allocations: 0 / 468.2 MB, free: 5.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.588e-05/0.2988, allocations: 12 kB / 468.2 MB, free: 5.352 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001255/0.3, allocations: 0.7433 MB / 469 MB, free: 4.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3001, allocations: 15.97 kB / 469 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.3002, allocations: 56.28 kB / 469 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.3007, allocations: 380.1 kB / 469.4 MB, free: 4.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.3008, allocations: 33.38 kB / 469.4 MB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.3009, allocations: 44.28 kB / 469.5 MB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007882/0.3017, allocations: 465.3 kB / 469.9 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.3017, allocations: 4.125 kB / 469.9 MB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-05/0.3018, allocations: 19.94 kB / 470 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3018, allocations: 12 kB / 470 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006737/0.3024, allocations: 323.8 kB / 470.3 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.3048, allocations: 1.69 MB / 472 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.3055, allocations: 302.8 kB / 472.3 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.3059, allocations: 164.7 kB / 472.4 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.3059, allocations: 4 kB / 472.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004149/0.3063, allocations: 251 kB / 472.7 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.174e-06/0.3063, allocations: 0 / 472.7 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001343/0.3077, allocations: 0.5857 MB / 473.3 MB, free: 32 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.3078, allocations: 136.4 kB / 473.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.3082, allocations: 381.5 kB / 473.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.3083, allocations: 33.7 kB / 473.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3084, allocations: 232.4 kB / 474 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.025e-05/0.3085, allocations: 102.5 kB / 474.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.3085, allocations: 16.03 kB / 474.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3087, allocations: 350.7 kB / 474.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.3089, allocations: 120.8 kB / 474.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.3093, allocations: 255.7 kB / 474.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.3098, allocations: 372.1 kB / 475.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3098, allocations: 0 / 475.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008459/0.3107, allocations: 491.3 kB / 475.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.3108, allocations: 228 kB / 475.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3109, allocations: 4 kB / 475.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/0.3112, allocations: 80.69 kB / 476 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.3114, allocations: 67.91 kB / 476.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.3131, allocations: 1.76 MB / 477.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.3135, allocations: 67.72 kB / 477.9 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.3135, allocations: 16 kB / 477.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.3135, allocations: 7.938 kB / 477.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000686/0.3142, allocations: 414.8 kB / 478.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.3142, allocations: 7.984 kB / 478.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.3144, allocations: 72.83 kB / 478.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.3146, allocations: 59.91 kB / 478.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.3162, allocations: 1.765 MB / 480.2 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.3165, allocations: 59.72 kB / 480.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.3165, allocations: 16 kB / 480.3 MB, free: 8.453 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 (43): * Single equations (assignments): 41 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.000243/0.3168, allocations: 255.2 kB / 480.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.3169, allocations: 39.53 kB / 480.6 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.729e-05/0.3169, allocations: 56.06 kB / 480.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.317, allocations: 7.938 kB / 480.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.317, allocations: 0 / 480.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.317, allocations: 4 kB / 480.7 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.3183, allocations: 0.9958 MB / 481.7 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3183, allocations: 4.031 kB / 481.7 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.3185, allocations: 39.92 kB / 481.7 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/0.3187, allocations: 64.81 kB / 481.8 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.3187, allocations: 4 kB / 481.8 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.3202, allocations: 1.71 MB / 483.5 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3202, allocations: 0 / 483.5 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008668/0.3211, allocations: 0.5791 MB / 484.1 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.3212, allocations: 144.6 kB / 484.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.3213, allocations: 12 kB / 484.2 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.3216, allocations: 35.91 kB / 484.2 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.434e-05/0.3217, allocations: 39.88 kB / 484.3 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.3217, allocations: 12 kB / 484.3 MB, free: 4.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003012/0.322, allocations: 267.2 kB / 484.6 MB, free: 3.945 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.322, allocations: 0 / 484.6 MB, free: 3.945 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007735/0.3228, allocations: 211.5 kB / 484.8 MB, free: 3.738 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.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,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 (29): * Single equations (assignments): 22 * 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.0001568/0.323, allocations: 131.3 kB / 484.9 MB, free: 3.602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.3243, allocations: 0.8843 MB / 485.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3243, allocations: 0.5625 kB / 485.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.3247, allocations: 286.4 kB / 486.1 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.3252, allocations: 69.66 kB / 486.1 MB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.3267, allocations: 1.004 MB / 487.1 MB, free: 1.285 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.3271, allocations: 0.8274 MB / 487.9 MB, free: 444 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.3273, allocations: 55.19 kB / 488 MB, free: 384 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.3274, allocations: 27.44 kB / 488 MB, free: 356 kB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3274, allocations: 0 / 488 MB, free: 356 kB / 362.7 MB Notification: Performance of Templates: time 0.01086/0.3383, allocations: 6.046 MB / 494.1 MB, free: 10.33 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_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_RL/ChopperStepDown_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches