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.00092/0.0009201, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007755/0.0007755, allocations: 86.69 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.55e-05/1.551e-05, allocations: 0 / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0797/0.07973, allocations: 47.58 MB / 363.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3576/0.4374, allocations: 83.13 MB / 446.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.4376, allocations: 86.62 kB / 446.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01888/0.4565, allocations: 7.268 MB / 453.6 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4566, allocations: 0 / 453.6 MB, free: 6.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.306e-05/0.4566, allocations: 8 kB / 453.6 MB, free: 6.43 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001074/0.4577, allocations: 0.7012 MB / 454.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.4577, allocations: 12.03 kB / 454.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.793e-05/0.4578, allocations: 59.34 kB / 454.3 MB, free: 5.641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.4583, allocations: 371.3 kB / 454.7 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.4583, allocations: 12 kB / 454.7 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/0.4584, allocations: 31.91 kB / 454.8 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004354/0.4589, allocations: 248.3 kB / 455 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.4594, allocations: 378.3 kB / 455.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.4595, allocations: 3.938 kB / 455.4 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.4595, allocations: 0 / 455.4 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.4595, allocations: 12 kB / 455.4 MB, free: 4.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.4616, allocations: 1.589 MB / 457 MB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.4622, allocations: 263.7 kB / 457.2 MB, free: 3.234 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.4624, allocations: 140.8 kB / 457.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.4625, allocations: 4 kB / 457.4 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.4628, allocations: 230.3 kB / 457.6 MB, free: 2.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.533e-06/0.4628, allocations: 0 / 457.6 MB, free: 2.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005134/0.4633, allocations: 290.5 kB / 457.9 MB, free: 2.707 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.4634, allocations: 140.5 kB / 458 MB, free: 2.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.4637, allocations: 258.1 kB / 458.3 MB, free: 2.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.4637, allocations: 29.33 kB / 458.3 MB, free: 2.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.4638, allocations: 228.6 kB / 458.5 MB, free: 2.113 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.4639, allocations: 106.7 kB / 458.6 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.4639, allocations: 0 / 458.6 MB, free: 2.023 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4641, allocations: 349.1 kB / 459 MB, free: 1.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.4642, allocations: 87.5 kB / 459 MB, free: 1.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.4644, allocations: 207.6 kB / 459.3 MB, free: 1.426 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.4646, allocations: 108.9 kB / 459.4 MB, free: 1.355 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4646, allocations: 3.938 kB / 459.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005649/0.4652, allocations: 374 kB / 459.7 MB, free: 1.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004678/0.4657, allocations: 1.424 MB / 461.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4657, allocations: 4 kB / 461.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002586/0.466, allocations: 77.81 kB / 461.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.4662, allocations: 70.84 kB / 461.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.4677, allocations: 1.686 MB / 463 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.4681, allocations: 63.66 kB / 463 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.4681, allocations: 23.2 kB / 463.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.4681, allocations: 4 kB / 463.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005015/0.4686, allocations: 310.7 kB / 463.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4687, allocations: 4 kB / 463.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.4688, allocations: 67.7 kB / 463.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.4691, allocations: 59.84 kB / 463.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.4705, allocations: 1.702 MB / 465.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.4708, allocations: 35.73 kB / 465.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.4709, allocations: 19.31 kB / 465.3 MB, free: 11.73 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 (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.0001302/0.471, allocations: 130.7 kB / 465.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.4711, allocations: 39.61 kB / 465.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.792e-05/0.4712, allocations: 37.02 kB / 465.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4712, allocations: 11.94 kB / 465.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4712, allocations: 0 / 465.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4712, allocations: 0 / 465.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.4722, allocations: 0.8912 MB / 466.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4722, allocations: 0 / 466.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.4724, allocations: 32.02 kB / 466.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001775/0.4726, allocations: 61.89 kB / 466.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.4727, allocations: 11.86 kB / 466.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.474, allocations: 1.625 MB / 468.1 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.474, allocations: 0 / 468.1 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.4746, allocations: 0.5271 MB / 468.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.4748, allocations: 139.1 kB / 468.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.4749, allocations: 11.58 kB / 468.8 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.4751, allocations: 23.97 kB / 468.8 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.4752, allocations: 39.02 kB / 468.8 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.4753, allocations: 15.73 kB / 468.8 MB, free: 8.473 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.4755, allocations: 192.4 kB / 469 MB, free: 8.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4755, allocations: 3.938 kB / 469 MB, free: 8.316 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007794/0.4762, allocations: 202.4 kB / 469.2 MB, free: 8.121 MB / 346.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) * 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.0001592/0.4764, allocations: 120.4 kB / 469.4 MB, free: 7.996 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009963/0.4774, allocations: 0.7741 MB / 470.1 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4774, allocations: 0 / 470.1 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.4777, allocations: 266.1 kB / 470.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.4781, allocations: 57.33 kB / 470.4 MB, free: 7.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4792, allocations: 0.5819 MB / 471 MB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.4796, allocations: 0.8315 MB / 471.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.4798, allocations: 51.25 kB / 471.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.4799, allocations: 27.44 kB / 471.9 MB, free: 5.578 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4799, allocations: 3.938 kB / 471.9 MB, free: 5.574 MB / 346.7 MB Notification: Performance of Templates: time 0.009815/0.4897, allocations: 5.595 MB / 477.5 MB, free: 15.99 MB / 362.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/jenkins/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