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.00104/0.00104, allocations: 177.7 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.375/1.375, allocations: 205.3 MB / 214.4 MB, free: 1.738 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.0007846/0.0007846, allocations: 86.22 kB / 262.4 MB, free: 1.695 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.088e-05/1.091e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07605/0.07608, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2795/0.3557, allocations: 82.84 MB / 445.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.3559, allocations: 84.83 kB / 446 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01855/0.3745, allocations: 6.939 MB / 452.9 MB, free: 7.012 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3745, allocations: 3.938 kB / 453 MB, free: 7.008 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.503e-05/0.3745, allocations: 8 kB / 453 MB, free: 7 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.001053/0.3756, allocations: 0.673 MB / 453.6 MB, free: 6.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3756, allocations: 8.031 kB / 453.6 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.624e-05/0.3757, allocations: 55.42 kB / 453.7 MB, free: 6.242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.3762, allocations: 368.7 kB / 454.1 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.3763, allocations: 15.98 kB / 454.1 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.3763, allocations: 28 kB / 454.1 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004152/0.3767, allocations: 237.4 kB / 454.3 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.3773, allocations: 355.8 kB / 454.7 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3773, allocations: 4 kB / 454.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.3774, allocations: 0 / 454.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3774, allocations: 8 kB / 454.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.3794, allocations: 1.513 MB / 456.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.3798, allocations: 249 kB / 456.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.3801, allocations: 133.4 kB / 456.6 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3801, allocations: 0 / 456.6 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.3805, allocations: 224.8 kB / 456.8 MB, free: 3.645 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.353e-06/0.3805, allocations: 0 / 456.8 MB, free: 3.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.000484/0.381, allocations: 278.9 kB / 457.1 MB, free: 3.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.381, allocations: 140.4 kB / 457.2 MB, free: 3.266 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.3813, allocations: 255.1 kB / 457.5 MB, free: 3.059 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.3813, allocations: 29.7 kB / 457.5 MB, free: 3.023 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.3815, allocations: 228.9 kB / 457.7 MB, free: 2.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.3816, allocations: 95.7 kB / 457.8 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.3816, allocations: 0 / 457.8 MB, free: 2.758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3817, allocations: 344.5 kB / 458.1 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.3818, allocations: 86.81 kB / 458.2 MB, free: 2.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.3821, allocations: 199.9 kB / 458.4 MB, free: 2.164 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3822, allocations: 110.3 kB / 458.5 MB, free: 2.094 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3822, allocations: 7.953 kB / 458.5 MB, free: 2.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005307/0.3828, allocations: 359.2 kB / 458.9 MB, free: 1.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004873/0.3833, allocations: 1.43 MB / 460.3 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3833, allocations: 4 kB / 460.3 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.3836, allocations: 76.94 kB / 460.4 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.3838, allocations: 63.34 kB / 460.5 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.3854, allocations: 1.728 MB / 462.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.3857, allocations: 59.64 kB / 462.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.3858, allocations: 15.5 kB / 462.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.3858, allocations: 4 kB / 462.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004726/0.3862, allocations: 306.5 kB / 462.6 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3863, allocations: 3.984 kB / 462.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.3865, allocations: 81.41 kB / 462.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.3867, allocations: 52.38 kB / 462.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.3883, allocations: 1.765 MB / 464.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.3885, allocations: 35.73 kB / 464.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.3886, allocations: 15.5 kB / 464.5 MB, free: 12.43 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.0001417/0.3887, allocations: 126.5 kB / 464.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.3888, allocations: 43.56 kB / 464.7 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.126e-05/0.3889, allocations: 37.59 kB / 464.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3889, allocations: 4 kB / 464.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.3889, allocations: 0 / 464.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3889, allocations: 3.984 kB / 464.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.39, allocations: 0.8798 MB / 465.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.39, allocations: 4 kB / 465.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.3901, allocations: 27.92 kB / 465.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/0.3903, allocations: 70.44 kB / 465.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.3904, allocations: 4 kB / 465.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.3918, allocations: 1.684 MB / 467.4 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3918, allocations: 4.062 kB / 467.4 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.3924, allocations: 0.5111 MB / 467.9 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.3926, allocations: 134.2 kB / 468 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.3926, allocations: 7.938 kB / 468 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.3929, allocations: 28.03 kB / 468.1 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.393, allocations: 38.97 kB / 468.1 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.393, allocations: 11.98 kB / 468.1 MB, free: 9.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.3932, allocations: 192.8 kB / 468.3 MB, free: 9.023 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.674e-06/0.3932, allocations: 0 / 468.3 MB, free: 9.023 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007607/0.394, allocations: 199.6 kB / 468.5 MB, free: 8.828 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.0001497/0.3941, allocations: 115.3 kB / 468.6 MB, free: 8.707 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3952, allocations: 0.7812 MB / 469.4 MB, free: 8.031 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3952, allocations: 8 kB / 469.4 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.3955, allocations: 266.8 kB / 469.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3959, allocations: 52.97 kB / 469.7 MB, free: 7.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.3969, allocations: 0.5064 MB / 470.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.3973, allocations: 0.8237 MB / 471 MB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.3975, allocations: 55.25 kB / 471.1 MB, free: 6.383 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.3976, allocations: 23.44 kB / 471.1 MB, free: 6.359 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3976, allocations: 3.938 kB / 471.1 MB, free: 6.355 MB / 346.7 MB Notification: Performance of Templates: time 0.00946/0.4071, allocations: 5.674 MB / 476.8 MB, free: 0.6953 MB / 346.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