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.002367/0.002367, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001051, allocations: 91.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.243e-05, allocations: 3.984 kB / 314.8 MB, free: 9.137 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3331, allocations: 47.55 MB / 362.4 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.4668, allocations: 82.9 MB / 445.2 MB, free: 3.398 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.4672, allocations: 87.94 kB / 445.3 MB, free: 3.312 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03403/0.5013, allocations: 7.26 MB / 452.6 MB, free: 12.09 MB / 347.1 MB Notification: Performance of FrontEnd: time 4.107e-06/0.5013, allocations: 7.922 kB / 452.6 MB, free: 12.08 MB / 347.1 MB Notification: Performance of Transformations before backend: time 3.976e-05/0.5014, allocations: 8 kB / 452.6 MB, free: 12.07 MB / 347.1 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.001888/0.5033, allocations: 0.6969 MB / 453.3 MB, free: 11.32 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.5033, allocations: 12.03 kB / 453.3 MB, free: 11.31 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.5035, allocations: 55.34 kB / 453.4 MB, free: 11.26 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008276/0.5044, allocations: 375.3 kB / 453.7 MB, free: 10.86 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.5044, allocations: 12 kB / 453.7 MB, free: 10.84 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.5045, allocations: 27.91 kB / 453.8 MB, free: 10.82 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008045/0.5053, allocations: 252.9 kB / 454 MB, free: 10.57 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5064, allocations: 374.8 kB / 454.4 MB, free: 10.18 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.5065, allocations: 4 kB / 454.4 MB, free: 10.18 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/0.5065, allocations: 8 kB / 454.4 MB, free: 10.17 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.5066, allocations: 8 kB / 454.4 MB, free: 10.16 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.5104, allocations: 1.592 MB / 456 MB, free: 8.484 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/0.5113, allocations: 270.8 kB / 456.3 MB, free: 8.211 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/0.5118, allocations: 141.7 kB / 456.4 MB, free: 8.07 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.5118, allocations: 4 kB / 456.4 MB, free: 8.066 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005447/0.5124, allocations: 221.6 kB / 456.6 MB, free: 7.828 MB / 347.1 MB Notification: Performance of pre-optimization done (n=36): time 3.296e-06/0.5124, allocations: 0 / 456.6 MB, free: 7.828 MB / 347.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009005/0.5133, allocations: 289.8 kB / 456.9 MB, free: 7.535 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/0.5134, allocations: 136.5 kB / 457 MB, free: 7.371 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.5139, allocations: 261.1 kB / 457.3 MB, free: 7.109 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.514, allocations: 29.7 kB / 457.3 MB, free: 7.074 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.5143, allocations: 286.6 kB / 457.6 MB, free: 6.789 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.5144, allocations: 98.62 kB / 457.7 MB, free: 6.691 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.5145, allocations: 0 / 457.7 MB, free: 6.691 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5146, allocations: 330.8 kB / 458 MB, free: 6.359 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.5149, allocations: 88.88 kB / 458.1 MB, free: 6.27 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.5153, allocations: 214.9 kB / 458.3 MB, free: 6.004 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.5156, allocations: 108.1 kB / 458.4 MB, free: 5.902 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.5157, allocations: 0 / 458.4 MB, free: 5.902 MB / 347.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009929/0.5167, allocations: 354.5 kB / 458.8 MB, free: 5.547 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006929/0.5174, allocations: 1.42 MB / 460.2 MB, free: 4.012 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.5174, allocations: 4 kB / 460.2 MB, free: 4.008 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004588/0.5179, allocations: 80.75 kB / 460.3 MB, free: 3.926 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.5184, allocations: 67.91 kB / 460.3 MB, free: 3.859 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.521, allocations: 1.685 MB / 462 MB, free: 2.062 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/0.5217, allocations: 63.72 kB / 462.1 MB, free: 2 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.5218, allocations: 23.89 kB / 462.1 MB, free: 1.977 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.5218, allocations: 4 kB / 462.1 MB, free: 1.973 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009204/0.5227, allocations: 310.7 kB / 462.4 MB, free: 1.668 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.5228, allocations: 4.938 kB / 462.4 MB, free: 1.664 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003294/0.5231, allocations: 72.77 kB / 462.5 MB, free: 1.59 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.5235, allocations: 59.91 kB / 462.6 MB, free: 1.531 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.526, allocations: 1.682 MB / 464.2 MB, free: 15.72 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.5265, allocations: 37.33 kB / 464.3 MB, free: 15.69 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.5266, allocations: 20 kB / 464.3 MB, free: 15.67 MB / 363.1 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 () * 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.0002289/0.5268, allocations: 131 kB / 464.4 MB, free: 15.53 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.527, allocations: 39.61 kB / 464.5 MB, free: 15.49 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.5271, allocations: 43.77 kB / 464.5 MB, free: 15.45 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.5271, allocations: 4 kB / 464.5 MB, free: 15.44 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5271, allocations: 4 kB / 464.5 MB, free: 15.44 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5272, allocations: 0 / 464.5 MB, free: 15.44 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.5291, allocations: 0.8827 MB / 465.4 MB, free: 14.5 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5291, allocations: 0 / 465.4 MB, free: 14.5 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.5295, allocations: 40 kB / 465.4 MB, free: 14.46 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003203/0.5298, allocations: 68.52 kB / 465.5 MB, free: 14.4 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.5299, allocations: 8 kB / 465.5 MB, free: 14.39 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.5321, allocations: 1.619 MB / 467.1 MB, free: 12.66 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5322, allocations: 0 / 467.1 MB, free: 12.66 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.5334, allocations: 0.5378 MB / 467.7 MB, free: 12.09 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.5337, allocations: 140.6 kB / 467.8 MB, free: 11.94 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.5338, allocations: 11.94 kB / 467.8 MB, free: 11.93 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.5343, allocations: 19.98 kB / 467.8 MB, free: 11.91 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.5345, allocations: 43.94 kB / 467.9 MB, free: 11.86 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.5345, allocations: 8 kB / 467.9 MB, free: 11.86 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0003202/0.5348, allocations: 200.6 kB / 468.1 MB, free: 11.66 MB / 363.1 MB Notification: Performance of sort global known variables: time 2.504e-06/0.5349, allocations: 0 / 468.1 MB, free: 11.66 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.001203/0.5361, allocations: 191.3 kB / 468.3 MB, free: 11.47 MB / 363.1 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) * 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.0002437/0.5363, allocations: 128.5 kB / 468.4 MB, free: 11.34 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.5382, allocations: 0.7697 MB / 469.2 MB, free: 10.52 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.5382, allocations: 4 kB / 469.2 MB, free: 10.52 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005718/0.5388, allocations: 257.3 kB / 469.4 MB, free: 10.26 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.5395, allocations: 53.48 kB / 469.5 MB, free: 10.21 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.5414, allocations: 0.6068 MB / 470.1 MB, free: 9.566 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/0.5421, allocations: 0.8351 MB / 470.9 MB, free: 8.707 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.5423, allocations: 27.44 kB / 470.9 MB, free: 8.68 MB / 363.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5423, allocations: 0 / 470.9 MB, free: 8.68 MB / 363.1 MB Notification: Performance of Templates: time 0.01548/0.5578, allocations: 6.57 MB / 477.5 MB, free: 2.152 MB / 363.1 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