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.001472/0.001472, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0018/0.0018, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59.91 kB / 359.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2593, allocations: 50.54 MB / 410 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.005179/0.2645, allocations: 4.265 MB / 414.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.2662, allocations: 1.129 MB / 415.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.2665, allocations: 11.94 kB / 415.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.2667, allocations: 107 kB / 415.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.267, allocations: 142.6 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.2676, allocations: 243.6 kB / 415.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006517/0.2682, allocations: 0.7282 MB / 416.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.2686, allocations: 272.2 kB / 416.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.2689, allocations: 263 kB / 417.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.2692, allocations: 290.6 kB / 417.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.222e-05/0.2693, allocations: 64 kB / 417.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.229e-05/0.2694, allocations: 68 kB / 417.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.2696, allocations: 139.5 kB / 417.7 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.2698, allocations: 310.4 kB / 418 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000621/0.2704, allocations: 0.7251 MB / 418.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2705, allocations: 4 kB / 418.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2705, allocations: 0 / 418.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2705, allocations: 0 / 418.7 MB, free: 8.852 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.001586/0.2721, allocations: 0.9184 MB / 419.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2721, allocations: 8.031 kB / 419.6 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.2722, allocations: 72.09 kB / 419.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006176/0.2729, allocations: 434.8 kB / 420.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.2729, allocations: 41.31 kB / 420.2 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-05/0.273, allocations: 52.38 kB / 420.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009392/0.2739, allocations: 0.5282 MB / 420.8 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.274, allocations: 3.984 kB / 420.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.076e-05/0.274, allocations: 23.98 kB / 420.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.274, allocations: 12 kB / 420.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008226/0.2749, allocations: 375.7 kB / 421.2 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.2774, allocations: 1.83 MB / 423 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.2784, allocations: 405.6 kB / 423.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.279, allocations: 256.1 kB / 423.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.2791, allocations: 4.328 kB / 423.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00056/0.2796, allocations: 297.2 kB / 423.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.904e-06/0.2796, allocations: 0 / 423.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001808/0.2815, allocations: 0.7173 MB / 424.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.2815, allocations: 114.8 kB / 424.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.282, allocations: 397.5 kB / 425.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.282, allocations: 37.7 kB / 425.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.2822, allocations: 256.8 kB / 425.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.2823, allocations: 134.1 kB / 425.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.2825, allocations: 98.23 kB / 425.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2826, allocations: 354.8 kB / 426 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.283, allocations: 155 kB / 426.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.2834, allocations: 280.1 kB / 426.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007748/0.2842, allocations: 435.7 kB / 426.9 MB, free: 272 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2842, allocations: 3.938 kB / 426.9 MB, free: 268 kB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001098/0.2853, allocations: 0.5654 MB / 427.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.2854, allocations: 34.14 kB / 427.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.2854, allocations: 11.88 kB / 427.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/0.2857, allocations: 76.8 kB / 427.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.2861, allocations: 87.89 kB / 427.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.288, allocations: 1.881 MB / 429.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.2884, allocations: 67.56 kB / 429.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.2885, allocations: 23.98 kB / 429.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004491/0.2889, allocations: 261.2 kB / 429.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003944/0.2893, allocations: 264.1 kB / 430.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006514/0.29, allocations: 414.7 kB / 430.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.415e-06/0.29, allocations: 3.938 kB / 430.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.000919/0.2909, allocations: 0.5343 MB / 431.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.291, allocations: 37.7 kB / 431.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.291, allocations: 4 kB / 431.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.2912, allocations: 69.25 kB / 431.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.2915, allocations: 87.89 kB / 431.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.2935, allocations: 1.885 MB / 433.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.2939, allocations: 59.56 kB / 433.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.2939, allocations: 19.94 kB / 433.2 MB, free: 9.469 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.0001821/0.2941, allocations: 230.6 kB / 433.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.2942, allocations: 43.53 kB / 433.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.2952, allocations: 0.4945 MB / 434 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.2953, allocations: 3.984 kB / 434 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2953, allocations: 0 / 434 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.2955, allocations: 156.4 kB / 434.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.2955, allocations: 15.98 kB / 434.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.2958, allocations: 31.91 kB / 434.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.2959, allocations: 35.95 kB / 434.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001371/0.2973, allocations: 0.5716 MB / 434.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001256/0.2986, allocations: 0.7729 MB / 435.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003397/0.2989, allocations: 163.9 kB / 435.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002786/0.2992, allocations: 271.3 kB / 436 MB, free: 6.633 MB / 350.1 MB Notification: Performance of Backend: time 6.81e-07/0.2992, allocations: 3.938 kB / 436 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.3009, allocations: 0.9645 MB / 437 MB, free: 5.613 MB / 350.1 MB Notification: Performance of SimCode: time 0.001823/0.3027, allocations: 1.544 MB / 438.5 MB, free: 4.023 MB / 350.1 MB Notification: Performance of Templates: time 0.01529/0.318, allocations: 8.575 MB / 447.1 MB, free: 11.55 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