Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 111 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 207.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2217, allocations: 50.55 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R): time 0.00486/0.2266, allocations: 4.149 MB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.2287, allocations: 1.118 MB / 415.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.229, allocations: 19.88 kB / 415.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.2293, allocations: 98.97 kB / 415.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.2296, allocations: 134.7 kB / 415.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.2302, allocations: 235.6 kB / 415.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006195/0.2308, allocations: 0.6972 MB / 416.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.2312, allocations: 268.2 kB / 416.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.2315, allocations: 259 kB / 417 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.2318, allocations: 282.6 kB / 417.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.761e-05/0.2319, allocations: 60 kB / 417.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.764e-05/0.232, allocations: 64 kB / 417.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.2321, allocations: 135.5 kB / 417.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.2323, allocations: 294.5 kB / 417.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006056/0.2329, allocations: 0.6939 MB / 418.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.233, allocations: 4 kB / 418.5 MB, free: 9.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.233, allocations: 0 / 418.5 MB, free: 9.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.233, allocations: 3.938 kB / 418.5 MB, free: 9.082 MB / 334.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.001581/0.2346, allocations: 0.9101 MB / 419.4 MB, free: 8.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2346, allocations: 8.031 kB / 419.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.2347, allocations: 68.19 kB / 419.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.2354, allocations: 420.5 kB / 419.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.2354, allocations: 37.38 kB / 419.9 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.2355, allocations: 44.38 kB / 419.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008778/0.2364, allocations: 0.5123 MB / 420.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.2364, allocations: 0 / 420.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/0.2365, allocations: 19.94 kB / 420.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.2365, allocations: 12 kB / 420.5 MB, free: 6.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007614/0.2372, allocations: 359.8 kB / 420.8 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.2396, allocations: 1.745 MB / 422.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.2406, allocations: 411.1 kB / 423 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.2411, allocations: 236.7 kB / 423.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.2412, allocations: 7.938 kB / 423.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005216/0.2417, allocations: 288.6 kB / 423.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 1.993e-06/0.2417, allocations: 0 / 423.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001729/0.2435, allocations: 0.7128 MB / 424.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.2435, allocations: 106.8 kB / 424.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.2439, allocations: 397.5 kB / 424.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.244, allocations: 37.7 kB / 424.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.2441, allocations: 244.2 kB / 425 MB, free: 2.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.2443, allocations: 134.2 kB / 425.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.2444, allocations: 90.16 kB / 425.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2445, allocations: 358.8 kB / 425.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.2449, allocations: 147 kB / 425.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.2453, allocations: 276.4 kB / 426 MB, free: 1.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.246, allocations: 427.9 kB / 426.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.246, allocations: 0 / 426.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009928/0.247, allocations: 0.5439 MB / 426.9 MB, free: 160 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.2471, allocations: 37.73 kB / 427 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.2471, allocations: 7.984 kB / 427 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/0.2474, allocations: 76.75 kB / 427.1 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.2477, allocations: 91.81 kB / 427.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.2494, allocations: 1.881 MB / 429 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.2497, allocations: 63.56 kB / 429.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.2498, allocations: 16 kB / 429.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004176/0.2502, allocations: 265.1 kB / 429.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003713/0.2506, allocations: 260.4 kB / 429.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006292/0.2512, allocations: 402.8 kB / 430 MB, free: 12.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.2512, allocations: 0 / 430 MB, free: 12.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0009126/0.2522, allocations: 0.5225 MB / 430.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.2522, allocations: 37.7 kB / 430.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2522, allocations: 4 kB / 430.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001905/0.2524, allocations: 73.25 kB / 430.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.2527, allocations: 83.83 kB / 430.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.2543, allocations: 1.878 MB / 432.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.2546, allocations: 59.78 kB / 432.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.2547, allocations: 20.06 kB / 432.7 MB, free: 9.992 MB / 350.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 (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.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,signalPWM.zeroOrderHold.ySample,$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.0001604/0.2549, allocations: 233.8 kB / 432.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.095e-05/0.2549, allocations: 43.44 kB / 433 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.256, allocations: 486.8 kB / 433.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.256, allocations: 3.984 kB / 433.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.256, allocations: 0 / 433.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.2562, allocations: 160.4 kB / 433.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/0.2562, allocations: 12 kB / 433.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.2565, allocations: 31.91 kB / 433.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.2566, allocations: 39.89 kB / 433.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001288/0.2579, allocations: 0.5598 MB / 434.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001226/0.2592, allocations: 0.7464 MB / 435 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000336/0.2595, allocations: 167.9 kB / 435.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000273/0.2598, allocations: 267.2 kB / 435.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.2598, allocations: 0 / 435.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.2615, allocations: 0.9393 MB / 436.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of SimCode: time 0.001667/0.2632, allocations: 1.46 MB / 437.8 MB, free: 4.719 MB / 350.1 MB Notification: Performance of Templates: time 0.01368/0.2769, allocations: 8.38 MB / 446.2 MB, free: 12.44 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches