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.001453/0.001453, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.398/1.398, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0008075/0.0008075, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.153e-05/2.156e-05, allocations: 3.984 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08836, allocations: 47.56 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2935/0.3819, allocations: 83.26 MB / 453.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.3822, allocations: 88.56 kB / 453.4 MB, free: 9.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01796/0.4002, allocations: 7.007 MB / 460.4 MB, free: 4.039 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4002, allocations: 0 / 460.4 MB, free: 4.039 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.671e-05/0.4002, allocations: 12 kB / 460.4 MB, free: 4.027 MB / 330.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.001074/0.4013, allocations: 0.6819 MB / 461.1 MB, free: 3.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4014, allocations: 8.031 kB / 461.1 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.4015, allocations: 51.44 kB / 461.1 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.402, allocations: 368.1 kB / 461.5 MB, free: 2.906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.402, allocations: 28.09 kB / 461.5 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.4021, allocations: 47.42 kB / 461.6 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.4027, allocations: 412.2 kB / 462 MB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4028, allocations: 0 / 462 MB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.4028, allocations: 15.19 kB / 462 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.4028, allocations: 11.98 kB / 462 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.4033, allocations: 263.1 kB / 462.3 MB, free: 2.379 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.4055, allocations: 1.609 MB / 463.9 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.406, allocations: 266.9 kB / 464.1 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.4064, allocations: 140.8 kB / 464.3 MB, free: 396 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.4064, allocations: 4 kB / 464.3 MB, free: 392 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003878/0.4068, allocations: 232.3 kB / 464.5 MB, free: 136 kB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/0.4068, allocations: 0 / 464.5 MB, free: 136 kB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006311/0.4075, allocations: 315.2 kB / 464.8 MB, free: 15.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.4076, allocations: 132.5 kB / 464.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.4079, allocations: 323.5 kB / 465.2 MB, free: 15.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.408, allocations: 33.73 kB / 465.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4082, allocations: 228.5 kB / 465.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/0.4083, allocations: 94.61 kB / 465.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.4083, allocations: 12 kB / 465.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4084, allocations: 350.8 kB / 465.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.4086, allocations: 88.88 kB / 466 MB, free: 14.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.4088, allocations: 224 kB / 466.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.4091, allocations: 138.4 kB / 466.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4091, allocations: 4 kB / 466.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006215/0.4097, allocations: 426 kB / 466.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005062/0.4102, allocations: 1.428 MB / 468.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4102, allocations: 11.92 kB / 468.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/0.4106, allocations: 72.83 kB / 468.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.4108, allocations: 59.91 kB / 468.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.4125, allocations: 1.803 MB / 470.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.4128, allocations: 67.59 kB / 470.2 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.4129, allocations: 19.95 kB / 470.3 MB, free: 9.957 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.4129, allocations: 7.125 kB / 470.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005661/0.4134, allocations: 387.3 kB / 470.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4135, allocations: 4 kB / 470.7 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.4137, allocations: 77.28 kB / 470.7 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.4139, allocations: 59.91 kB / 470.8 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.4156, allocations: 1.815 MB / 472.6 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.4159, allocations: 51.67 kB / 472.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.4159, allocations: 19.98 kB / 472.7 MB, free: 7.41 MB / 346.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 () * 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.0001415/0.4161, allocations: 140 kB / 472.8 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.4161, allocations: 39.53 kB / 472.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.505e-05/0.4162, allocations: 44.23 kB / 472.9 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4162, allocations: 7.938 kB / 472.9 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4162, allocations: 0 / 472.9 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4163, allocations: 8.266 kB / 472.9 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.4174, allocations: 0.9597 MB / 473.9 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4174, allocations: 0 / 473.9 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.4176, allocations: 27.92 kB / 473.9 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/0.4178, allocations: 80.73 kB / 474 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.4178, allocations: 8 kB / 474 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.4194, allocations: 1.757 MB / 475.7 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.4194, allocations: 8.016 kB / 475.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/0.4201, allocations: 0.5488 MB / 476.3 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.4203, allocations: 148.6 kB / 476.4 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.4204, allocations: 8 kB / 476.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.4206, allocations: 32.09 kB / 476.5 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.4207, allocations: 39.94 kB / 476.5 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.4208, allocations: 11.94 kB / 476.5 MB, free: 3.293 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002591/0.421, allocations: 242.2 kB / 476.8 MB, free: 3.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.421, allocations: 0 / 476.8 MB, free: 3.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006945/0.4217, allocations: 207.6 kB / 477 MB, free: 2.852 MB / 346.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) * 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.0001695/0.4219, allocations: 132.8 kB / 477.1 MB, free: 2.715 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.4231, allocations: 0.8395 MB / 477.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4231, allocations: 0 / 477.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.4235, allocations: 274.4 kB / 478.2 MB, free: 1.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.4239, allocations: 74.19 kB / 478.3 MB, free: 1.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.425, allocations: 0.5444 MB / 478.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.4253, allocations: 0.8279 MB / 479.7 MB, free: 52 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.4256, allocations: 59.28 kB / 479.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.4257, allocations: 23.44 kB / 479.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4257, allocations: 0 / 479.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Templates: time 0.01095/0.4366, allocations: 6.5 MB / 486.2 MB, free: 9.469 MB / 362.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/jenkins/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