Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 106.2 kB / 17.74 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 192.2 kB / 18.68 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 47.92 kB / 352 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2291, allocations: 49.44 MB / 401.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R): time 0.005865/0.235, allocations: 3.92 MB / 405.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2372, allocations: 0.9856 MB / 406.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.2376, allocations: 11.94 kB / 406.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.2381, allocations: 87.09 kB / 406.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005457/0.2387, allocations: 150.7 kB / 406.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.2395, allocations: 235.6 kB / 406.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008302/0.2404, allocations: 0.6737 MB / 407.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004484/0.2408, allocations: 252.2 kB / 407.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.2412, allocations: 247.1 kB / 408 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.2417, allocations: 274.7 kB / 408.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.2418, allocations: 60 kB / 408.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.2419, allocations: 64 kB / 408.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.2421, allocations: 139.5 kB / 408.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.2425, allocations: 294.5 kB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000779/0.2433, allocations: 0.6845 MB / 409.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.2433, allocations: 3.984 kB / 409.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2433, allocations: 0 / 409.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.2433, allocations: 0 / 409.5 MB, free: 0.7891 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001981/0.2453, allocations: 0.902 MB / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2453, allocations: 11.97 kB / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.2455, allocations: 68.52 kB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.2462, allocations: 416.9 kB / 410.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.2462, allocations: 33.38 kB / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.2463, allocations: 48.38 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009303/0.2472, allocations: 0.5044 MB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.2473, allocations: 4 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.2473, allocations: 20 kB / 411.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.2473, allocations: 12 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008455/0.2482, allocations: 359.7 kB / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.2507, allocations: 1.73 MB / 413.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2518, allocations: 410.9 kB / 414 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.2524, allocations: 241.3 kB / 414.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.2525, allocations: 7.938 kB / 414.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005333/0.253, allocations: 284.6 kB / 414.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.134e-06/0.253, allocations: 0 / 414.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001823/0.2548, allocations: 0.6938 MB / 415.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.2549, allocations: 118.6 kB / 415.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.2553, allocations: 377.6 kB / 415.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.2554, allocations: 37.7 kB / 415.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.2556, allocations: 252.5 kB / 416 MB, free: 9.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.2557, allocations: 134.9 kB / 416.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.2559, allocations: 94.2 kB / 416.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.256, allocations: 350.8 kB / 416.6 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.2565, allocations: 159 kB / 416.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/0.2569, allocations: 273 kB / 417 MB, free: 8.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/0.2576, allocations: 423.6 kB / 417.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2577, allocations: 3.938 kB / 417.4 MB, free: 8.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001055/0.2587, allocations: 0.5419 MB / 417.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.2588, allocations: 33.69 kB / 418 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.2588, allocations: 4.438 kB / 418 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.2591, allocations: 76.75 kB / 418 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.2594, allocations: 91.81 kB / 418.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.2612, allocations: 1.881 MB / 420 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.2616, allocations: 59.7 kB / 420.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.2616, allocations: 24.06 kB / 420.1 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004411/0.2621, allocations: 253.2 kB / 420.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003785/0.2625, allocations: 260.9 kB / 420.6 MB, free: 5.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006513/0.2631, allocations: 418.6 kB / 421 MB, free: 4.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/0.2631, allocations: 4 kB / 421 MB, free: 4.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0009508/0.2641, allocations: 0.5146 MB / 421.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.2641, allocations: 29.7 kB / 421.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2641, allocations: 4 kB / 421.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.2644, allocations: 72.81 kB / 421.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.2647, allocations: 88.3 kB / 421.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.2663, allocations: 1.897 MB / 423.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.2667, allocations: 55.75 kB / 423.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.2668, allocations: 20 kB / 423.7 MB, free: 1.719 MB / 334.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 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y_last,$PRE.meanCurrent.y_last,meanVoltage.y_last,$PRE.meanVoltage.y_last,$whenCondition2,$whenCondition1,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,chopperStepDown.diode.off,chopperStepDown.transistor.off,chopperStepDown.andCondition_p.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.2669, allocations: 216 kB / 423.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.267, allocations: 47.7 kB / 423.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.2681, allocations: 486.6 kB / 424.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2681, allocations: 4 kB / 424.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2681, allocations: 4 kB / 424.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.2683, allocations: 156.6 kB / 424.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.2683, allocations: 12 kB / 424.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.2686, allocations: 31.91 kB / 424.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.2687, allocations: 35.89 kB / 424.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001322/0.2701, allocations: 0.5482 MB / 425.2 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001224/0.2713, allocations: 0.7466 MB / 426 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003511/0.2717, allocations: 167.9 kB / 426.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002639/0.2719, allocations: 259.2 kB / 426.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.2719, allocations: 0 / 426.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.2736, allocations: 0.929 MB / 427.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of SimCode: time 0.001785/0.2754, allocations: 1.461 MB / 428.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of Templates: time 0.0143/0.2897, allocations: 8.207 MB / 437 MB, free: 4.395 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_R/ChopperStepDown_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches