Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_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.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002174/0.002174, allocations: 177.8 kB / 8.36 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.137/2.137, 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.001083/0.001083, allocations: 90.11 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.901e-05/1.901e-05, allocations: 0 / 314.8 MB, free: 9.133 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3203, allocations: 47.57 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.4512, allocations: 82.47 MB / 444.8 MB, free: 3.836 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/0.4516, allocations: 84.75 kB / 444.9 MB, free: 3.754 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03383/0.4854, allocations: 7.571 MB / 452.5 MB, free: 12.21 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4855, allocations: 0 / 452.5 MB, free: 12.21 MB / 347.1 MB Notification: Performance of Transformations before backend: time 5.406e-05/0.4855, allocations: 12 kB / 452.5 MB, free: 12.2 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00213/0.4877, allocations: 0.7135 MB / 453.2 MB, free: 11.44 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.4878, allocations: 12.03 kB / 453.2 MB, free: 11.43 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.488, allocations: 59.25 kB / 453.3 MB, free: 11.37 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009776/0.489, allocations: 375.3 kB / 453.6 MB, free: 10.96 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.4891, allocations: 12 kB / 453.6 MB, free: 10.95 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.4892, allocations: 31.98 kB / 453.7 MB, free: 10.91 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008718/0.4901, allocations: 262.6 kB / 453.9 MB, free: 10.66 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.4912, allocations: 398.8 kB / 454.3 MB, free: 10.25 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.4913, allocations: 0 / 454.3 MB, free: 10.25 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.4914, allocations: 4 kB / 454.3 MB, free: 10.24 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.4914, allocations: 14.47 kB / 454.3 MB, free: 10.23 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.4957, allocations: 1.612 MB / 456 MB, free: 8.535 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.4968, allocations: 295.1 kB / 456.2 MB, free: 8.234 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/0.4975, allocations: 184.8 kB / 456.4 MB, free: 8.051 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.4975, allocations: 8 kB / 456.4 MB, free: 8.043 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005819/0.4981, allocations: 220.2 kB / 456.6 MB, free: 7.809 MB / 347.1 MB Notification: Performance of pre-optimization done (n=39): time 3.126e-06/0.4982, allocations: 0 / 456.6 MB, free: 7.809 MB / 347.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009758/0.4991, allocations: 319.1 kB / 457 MB, free: 7.488 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.4993, allocations: 110.8 kB / 457.1 MB, free: 7.355 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/0.4998, allocations: 269 kB / 457.3 MB, free: 7.086 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 9.07e-05/0.4999, allocations: 29.7 kB / 457.4 MB, free: 7.051 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.5002, allocations: 286.5 kB / 457.6 MB, free: 6.766 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.5003, allocations: 110.5 kB / 457.7 MB, free: 6.656 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.5004, allocations: 0 / 457.7 MB, free: 6.656 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5005, allocations: 326.8 kB / 458.1 MB, free: 6.328 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.5008, allocations: 93.12 kB / 458.2 MB, free: 6.238 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.5013, allocations: 226.9 kB / 458.4 MB, free: 5.961 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.5016, allocations: 121.3 kB / 458.5 MB, free: 5.844 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.5017, allocations: 4 kB / 458.5 MB, free: 5.84 MB / 347.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001055/0.5027, allocations: 361.5 kB / 458.9 MB, free: 5.48 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006741/0.5034, allocations: 1.337 MB / 460.2 MB, free: 4.035 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.5035, allocations: 4 kB / 460.2 MB, free: 4.031 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/0.5039, allocations: 76.8 kB / 460.3 MB, free: 3.953 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/0.5045, allocations: 84.39 kB / 460.4 MB, free: 3.871 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.5068, allocations: 1.631 MB / 462 MB, free: 2.133 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006813/0.5075, allocations: 67.67 kB / 462 MB, free: 2.066 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.5076, allocations: 16 kB / 462.1 MB, free: 2.051 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.5076, allocations: 13.89 kB / 462.1 MB, free: 2.039 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009142/0.5085, allocations: 322.8 kB / 462.4 MB, free: 1.723 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5086, allocations: 4 kB / 462.4 MB, free: 1.719 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/0.5089, allocations: 64.83 kB / 462.5 MB, free: 1.652 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.5094, allocations: 75.84 kB / 462.5 MB, free: 1.578 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.5116, allocations: 1.615 MB / 464.1 MB, free: 15.84 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.5121, allocations: 43.73 kB / 464.2 MB, free: 15.8 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.5122, allocations: 20 kB / 464.2 MB, free: 15.78 MB / 363.1 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,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (48): * Single equations (assignments): 46 * 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.0002263/0.5124, allocations: 127 kB / 464.3 MB, free: 15.65 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5125, allocations: 31.62 kB / 464.4 MB, free: 15.62 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.5127, allocations: 40.3 kB / 464.4 MB, free: 15.58 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.5127, allocations: 7.938 kB / 464.4 MB, free: 15.57 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5127, allocations: 4 kB / 464.4 MB, free: 15.57 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.5127, allocations: 3.984 kB / 464.4 MB, free: 15.57 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.5146, allocations: 0.8277 MB / 465.2 MB, free: 14.69 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5146, allocations: 0 / 465.2 MB, free: 14.69 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.5151, allocations: 48.03 kB / 465.3 MB, free: 14.64 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000338/0.5154, allocations: 76.84 kB / 465.4 MB, free: 14.56 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.5155, allocations: 4 kB / 465.4 MB, free: 14.56 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.5176, allocations: 1.625 MB / 467 MB, free: 12.82 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.5177, allocations: 0 / 467 MB, free: 12.82 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.5189, allocations: 0.5567 MB / 467.6 MB, free: 12.23 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.5192, allocations: 144.6 kB / 467.7 MB, free: 12.07 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/0.5193, allocations: 7.953 kB / 467.7 MB, free: 12.07 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.5198, allocations: 27.97 kB / 467.7 MB, free: 12.04 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.52, allocations: 35.94 kB / 467.8 MB, free: 12 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.52, allocations: 16 kB / 467.8 MB, free: 11.99 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0003057/0.5204, allocations: 200.6 kB / 468 MB, free: 11.79 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5204, allocations: 0 / 468 MB, free: 11.79 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.001286/0.5217, allocations: 203.3 kB / 468.2 MB, free: 11.59 MB / 363.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductorSource.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (32): * Single equations (assignments): 25 * 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.0002551/0.522, allocations: 122.9 kB / 468.3 MB, free: 11.46 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.5238, allocations: 0.8004 MB / 469.1 MB, free: 10.62 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.5239, allocations: 0 / 469.1 MB, free: 10.62 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006105/0.5245, allocations: 273.9 kB / 469.4 MB, free: 10.35 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/0.5253, allocations: 54.94 kB / 469.4 MB, free: 10.29 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.5276, allocations: 0.689 MB / 470.1 MB, free: 9.574 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.5282, allocations: 0.8434 MB / 471 MB, free: 8.703 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.5284, allocations: 31.44 kB / 471 MB, free: 8.676 MB / 363.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5284, allocations: 4 kB / 471 MB, free: 8.672 MB / 363.1 MB Notification: Performance of Templates: time 0.01698/0.5454, allocations: 6.886 MB / 477.9 MB, free: 1.812 MB / 363.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepUp/ChopperStepUp_R/ChopperStepUp_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches