Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001481/0.001481, allocations: 185.7 kB / 16.4 MB, free: 5.699 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.943/1.943, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001099/0.001099, allocations: 85.61 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005749/0.000575, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3306, allocations: 47.57 MB / 374.5 MB, free: 45.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.4648, allocations: 83.64 MB / 458.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003911/0.4653, allocations: 87.95 kB / 458.3 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03416/0.4995, allocations: 7.345 MB / 465.6 MB, free: 5.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.4995, allocations: 0 / 465.6 MB, free: 5.648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.271e-05/0.4996, allocations: 11.98 kB / 465.6 MB, free: 5.637 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.002007/0.5016, allocations: 0.7514 MB / 466.4 MB, free: 4.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5017, allocations: 8.031 kB / 466.4 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.5018, allocations: 55.34 kB / 466.4 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/0.5027, allocations: 378.9 kB / 466.8 MB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.5027, allocations: 29 kB / 466.8 MB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.5029, allocations: 48 kB / 466.9 MB, free: 4.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.5042, allocations: 460.6 kB / 467.3 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.5042, allocations: 0 / 467.3 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.124e-05/0.5043, allocations: 20 kB / 467.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.5044, allocations: 12 kB / 467.4 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.5055, allocations: 327.8 kB / 467.7 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004064/0.5096, allocations: 1.678 MB / 469.4 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.5109, allocations: 305.2 kB / 469.7 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-05/0.511, allocations: 7.984 kB / 469.7 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007257/0.5117, allocations: 242.2 kB / 469.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 3.567e-06/0.5118, allocations: 0 / 469.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002355/0.5141, allocations: 0.5661 MB / 470.5 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.5143, allocations: 114.7 kB / 470.6 MB, free: 392 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/0.515, allocations: 340.6 kB / 470.9 MB, free: 44 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.5152, allocations: 41.77 kB / 471 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.5154, allocations: 270.9 kB / 471.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.5156, allocations: 110.4 kB / 471.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.5156, allocations: 12 kB / 471.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5158, allocations: 330.8 kB / 471.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.5163, allocations: 116.8 kB / 471.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/0.5169, allocations: 250.8 kB / 472 MB, free: 14.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/0.5174, allocations: 162.8 kB / 472.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.5175, allocations: 3.938 kB / 472.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001475/0.5189, allocations: 482.2 kB / 472.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006385/0.5196, allocations: 1.338 MB / 474 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.5196, allocations: 8 kB / 474 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004532/0.5201, allocations: 80.8 kB / 474.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.5206, allocations: 59.91 kB / 474.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.5233, allocations: 1.714 MB / 475.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007027/0.524, allocations: 67.72 kB / 475.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.5241, allocations: 15.98 kB / 475.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5241, allocations: 7.953 kB / 476 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001265/0.5254, allocations: 422.3 kB / 476.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5254, allocations: 0 / 476.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/0.5258, allocations: 72.77 kB / 476.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/0.5262, allocations: 59.91 kB / 476.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.5287, allocations: 1.695 MB / 478.2 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.5292, allocations: 51.78 kB / 478.2 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/0.5292, allocations: 20 kB / 478.3 MB, free: 8.227 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,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 (44): * Single equations (assignments): 42 * 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.0004342/0.5297, allocations: 266.8 kB / 478.5 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.5298, allocations: 39.53 kB / 478.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.53, allocations: 52.14 kB / 478.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.53, allocations: 4 kB / 478.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.53, allocations: 3.984 kB / 478.6 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.53, allocations: 0 / 478.6 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.5321, allocations: 0.8855 MB / 479.5 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5321, allocations: 3.938 kB / 479.5 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.5325, allocations: 39.98 kB / 479.5 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003452/0.5329, allocations: 68.8 kB / 479.6 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.5329, allocations: 11.98 kB / 479.6 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.5354, allocations: 1.714 MB / 481.3 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5354, allocations: 0 / 481.3 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.5371, allocations: 0.5745 MB / 481.9 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.5374, allocations: 144.6 kB / 482.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/0.5375, allocations: 11.95 kB / 482.1 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004928/0.538, allocations: 36.22 kB / 482.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.5381, allocations: 35.95 kB / 482.1 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.5382, allocations: 19.98 kB / 482.2 MB, free: 4.082 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005228/0.5387, allocations: 259.2 kB / 482.4 MB, free: 3.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5388, allocations: 0 / 482.4 MB, free: 3.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001178/0.5399, allocations: 215.4 kB / 482.6 MB, free: 3.625 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002255/0.5402, allocations: 127.7 kB / 482.7 MB, free: 3.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.5425, allocations: 0.8763 MB / 483.6 MB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5425, allocations: 0 / 483.6 MB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006733/0.5432, allocations: 287.2 kB / 483.9 MB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.5439, allocations: 65.52 kB / 484 MB, free: 2.207 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.5464, allocations: 1.03 MB / 485 MB, free: 1.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.5469, allocations: 0.8313 MB / 485.8 MB, free: 288 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.5471, allocations: 43.42 kB / 485.9 MB, free: 244 kB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5471, allocations: 0 / 485.9 MB, free: 244 kB / 362.7 MB Notification: Performance of Templates: time 0.01453/0.5616, allocations: 6.886 MB / 492.8 MB, free: 9.367 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches