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_RL.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 3.2.3+maint.om/package.mo", uses=false) 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 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 107.2 kB / 18.4 MB, free: 4.672 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.001104/0.001104, allocations: 187.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 52.14 kB / 329.3 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07281/0.07404, allocations: 46.62 MB / 375.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.004705/0.07878, allocations: 3.604 MB / 379.5 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1464/0.2252, allocations: 0.9832 MB / 380.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003973/0.2256, allocations: 12.41 kB / 380.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.2259, allocations: 81.8 kB / 380.6 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.2261, allocations: 126.1 kB / 380.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.2266, allocations: 206.2 kB / 380.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.2271, allocations: 0.5966 MB / 381.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.2275, allocations: 231.7 kB / 381.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.2277, allocations: 222.4 kB / 381.9 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.2279, allocations: 240.3 kB / 382.2 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.228, allocations: 55 kB / 382.2 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.476e-05/0.2281, allocations: 54.19 kB / 382.3 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2282, allocations: 122.9 kB / 382.4 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.2284, allocations: 260.6 kB / 382.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.229, allocations: 0.6188 MB / 383.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.229, allocations: 0.5312 kB / 383.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.229, allocations: 0 / 383.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.229, allocations: 0.5938 kB / 383.3 MB, free: 9.379 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001301/0.2303, allocations: 0.8195 MB / 384.1 MB, free: 8.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2303, allocations: 9.25 kB / 384.1 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.915e-05/0.2304, allocations: 57.64 kB / 384.1 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.2309, allocations: 384.5 kB / 384.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.231, allocations: 32.59 kB / 384.5 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/0.2311, allocations: 48.03 kB / 384.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.2318, allocations: 458.6 kB / 385 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.2318, allocations: 3.938 kB / 385 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.2319, allocations: 20.89 kB / 385.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2319, allocations: 10.19 kB / 385.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006103/0.2325, allocations: 306.2 kB / 385.4 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.2345, allocations: 1.652 MB / 387 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.2352, allocations: 296.7 kB / 387.3 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.2355, allocations: 169.3 kB / 387.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.2356, allocations: 4.312 kB / 387.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004201/0.236, allocations: 253.2 kB / 387.7 MB, free: 6.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.944e-06/0.236, allocations: 6.062 kB / 387.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001448/0.2375, allocations: 0.611 MB / 388.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.2375, allocations: 142.4 kB / 388.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.2379, allocations: 353.8 kB / 388.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.2379, allocations: 38.61 kB / 388.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.238, allocations: 229.6 kB / 389.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.641e-05/0.2381, allocations: 111.8 kB / 389.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.2382, allocations: 89.05 kB / 389.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.2383, allocations: 347.5 kB / 389.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.2385, allocations: 118.9 kB / 389.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.2388, allocations: 246.2 kB / 390 MB, free: 5.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.2393, allocations: 385.1 kB / 390.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2393, allocations: 1.25 kB / 390.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007819/0.2401, allocations: 484.6 kB / 390.8 MB, free: 4.801 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.2402, allocations: 37.47 kB / 390.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2402, allocations: 5.266 kB / 390.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002546/0.2404, allocations: 67.52 kB / 391 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.2407, allocations: 65.77 kB / 391 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.2421, allocations: 1.897 MB / 392.9 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.2424, allocations: 49.56 kB / 393 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.2424, allocations: 22.34 kB / 393 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002938/0.2427, allocations: 226.1 kB / 393.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002494/0.243, allocations: 234.1 kB / 393.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003992/0.2434, allocations: 358.6 kB / 393.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.2434, allocations: 5.062 kB / 393.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0006702/0.2441, allocations: 464 kB / 394.2 MB, free: 2.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2441, allocations: 32.36 kB / 394.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2441, allocations: 4 kB / 394.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.2443, allocations: 75.23 kB / 394.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.2445, allocations: 63.75 kB / 394.4 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.2458, allocations: 1.888 MB / 396.3 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.2461, allocations: 39.45 kB / 396.3 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.2461, allocations: 18.34 kB / 396.4 MB, free: 292 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 21 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y,$PRE.meanCurrent.y,meanVoltage.y,$PRE.meanVoltage.y,$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 (45): * Single equations (assignments): 43 * 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.000109/0.2462, allocations: 218.2 kB / 396.6 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.2463, allocations: 48.52 kB / 396.6 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.84e-05/0.2464, allocations: 45.72 kB / 396.7 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2464, allocations: 6.875 kB / 396.7 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2464, allocations: 0 / 396.7 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.2466, allocations: 144.7 kB / 396.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.397e-05/0.2466, allocations: 13.19 kB / 396.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.2469, allocations: 29.86 kB / 396.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.247, allocations: 29.89 kB / 396.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001076/0.2481, allocations: 0.5399 MB / 397.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009877/0.2491, allocations: 0.7169 MB / 398.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002666/0.2494, allocations: 128.4 kB / 398.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.2496, allocations: 251.8 kB / 398.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Backend: time 3.81e-07/0.2496, allocations: 0 / 398.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.2511, allocations: 0.8591 MB / 399.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of SimCode: time 0.001502/0.2527, allocations: 1.295 MB / 400.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of Templates: time 0.01367/0.2663, allocations: 7.316 MB / 408 MB, free: 10.91 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_RL/ChopperStepDown_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches