Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inductor.i|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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inductor.i|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_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 117.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.89 kB / 359.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2255, allocations: 50.54 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.005285/0.2308, allocations: 4.276 MB / 414.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.2328, allocations: 1.126 MB / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.2331, allocations: 15.94 kB / 415.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.2334, allocations: 103 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.2338, allocations: 154.6 kB / 415.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.2344, allocations: 239.6 kB / 415.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007005/0.2351, allocations: 0.7282 MB / 416.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.2355, allocations: 280.2 kB / 416.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.2358, allocations: 263 kB / 417.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.2362, allocations: 298.6 kB / 417.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.221e-05/0.2363, allocations: 64 kB / 417.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.984e-05/0.2364, allocations: 64 kB / 417.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.2365, allocations: 131.5 kB / 417.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.2368, allocations: 314.4 kB / 418 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007695/0.2376, allocations: 0.7234 MB / 418.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2376, allocations: 4 kB / 418.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2376, allocations: 0 / 418.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.2376, allocations: 4 kB / 418.7 MB, free: 8.801 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001576/0.2392, allocations: 0.9412 MB / 419.7 MB, free: 7.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2393, allocations: 8.031 kB / 419.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.2394, allocations: 72.52 kB / 419.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.24, allocations: 427.2 kB / 420.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.2401, allocations: 49.31 kB / 420.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.806e-05/0.2402, allocations: 48.38 kB / 420.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009334/0.2411, allocations: 0.5205 MB / 420.8 MB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.2412, allocations: 3.984 kB / 420.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.824e-05/0.2412, allocations: 24 kB / 420.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.2413, allocations: 16 kB / 420.8 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008246/0.2421, allocations: 375.7 kB / 421.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002542/0.2446, allocations: 1.835 MB / 423 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2457, allocations: 405.7 kB / 423.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/0.2462, allocations: 245.3 kB / 423.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.2463, allocations: 8.328 kB / 423.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005602/0.2469, allocations: 293.1 kB / 424 MB, free: 3.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.204e-06/0.2469, allocations: 0 / 424 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001808/0.2487, allocations: 0.7253 MB / 424.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.2488, allocations: 114.8 kB / 424.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.2492, allocations: 393.6 kB / 425.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.2492, allocations: 37.7 kB / 425.2 MB, free: 2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.2494, allocations: 257.3 kB / 425.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.2496, allocations: 150.8 kB / 425.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.2497, allocations: 94.2 kB / 425.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2498, allocations: 354.8 kB / 426.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.2502, allocations: 155 kB / 426.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.2507, allocations: 280.1 kB / 426.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007387/0.2514, allocations: 447.7 kB / 426.9 MB, free: 180 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2514, allocations: 0 / 426.9 MB, free: 180 kB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001063/0.2525, allocations: 0.5623 MB / 427.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.2525, allocations: 33.64 kB / 427.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.2525, allocations: 7.938 kB / 427.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/0.2528, allocations: 72.81 kB / 427.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.2532, allocations: 91.83 kB / 427.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.255, allocations: 1.897 MB / 429.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.2553, allocations: 59.7 kB / 429.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.2554, allocations: 20 kB / 429.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004604/0.2559, allocations: 261.2 kB / 429.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003995/0.2563, allocations: 268.1 kB / 430.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006687/0.2569, allocations: 414.7 kB / 430.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.257, allocations: 4 kB / 430.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.000973/0.2579, allocations: 0.531 MB / 431.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.258, allocations: 37.7 kB / 431.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.258, allocations: 4 kB / 431.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/0.2582, allocations: 77.03 kB / 431.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.2585, allocations: 87.83 kB / 431.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.2602, allocations: 1.889 MB / 433.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.2606, allocations: 55.83 kB / 433.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.2606, allocations: 23.92 kB / 433.3 MB, free: 9.375 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 (54): * Single equations (assignments): 52 * 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.0001936/0.2608, allocations: 222.7 kB / 433.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-05/0.2609, allocations: 47.67 kB / 433.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.262, allocations: 0.4946 MB / 434 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.2621, allocations: 7.969 kB / 434.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2621, allocations: 0 / 434.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.2622, allocations: 160.7 kB / 434.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/0.2623, allocations: 11.98 kB / 434.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.2626, allocations: 39.91 kB / 434.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/0.2627, allocations: 35.95 kB / 434.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001352/0.2641, allocations: 0.5674 MB / 434.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001278/0.2654, allocations: 0.7733 MB / 435.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00036/0.2658, allocations: 164 kB / 435.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000306/0.2661, allocations: 279.1 kB / 436.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of Backend: time 4.51e-07/0.2661, allocations: 0 / 436.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00176/0.2678, allocations: 0.9678 MB / 437 MB, free: 5.508 MB / 350.1 MB Notification: Performance of SimCode: time 0.001867/0.2697, allocations: 1.555 MB / 438.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of Templates: time 0.01546/0.2852, allocations: 8.569 MB / 447.2 MB, free: 11.44 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_RL/ChopperStepDown_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches