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.001076/0.001076, allocations: 110.5 kB / 17.75 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.00111/0.001111, allocations: 179 kB / 18.67 MB, free: 4.395 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009896/0.0009896, allocations: 55.92 kB / 352 MB, free: 3.168 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2251, allocations: 49.43 MB / 401.5 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R): time 0.004741/0.2298, allocations: 3.914 MB / 405.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2314, allocations: 0.9933 MB / 406.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.2316, allocations: 11.94 kB / 406.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.2318, allocations: 91.03 kB / 406.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.2321, allocations: 142.8 kB / 406.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.2326, allocations: 231.6 kB / 406.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005919/0.2332, allocations: 0.6737 MB / 407.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.2336, allocations: 252.2 kB / 407.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.2338, allocations: 243.1 kB / 408 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.2341, allocations: 282.6 kB / 408.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.344e-05/0.2342, allocations: 64 kB / 408.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.894e-05/0.2343, allocations: 60 kB / 408.4 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.2344, allocations: 131.5 kB / 408.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.2347, allocations: 298.5 kB / 408.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.2353, allocations: 0.6823 MB / 409.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2353, allocations: 0 / 409.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2353, allocations: 3.938 kB / 409.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.2353, allocations: 0 / 409.5 MB, free: 0.7617 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.001501/0.2368, allocations: 0.8869 MB / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2368, allocations: 20.02 kB / 410.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.237, allocations: 64.19 kB / 410.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.2375, allocations: 408.6 kB / 410.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.2376, allocations: 33.38 kB / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.2376, allocations: 48.38 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009055/0.2386, allocations: 0.5083 MB / 411.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.2386, allocations: 7.906 kB / 411.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.2386, allocations: 16 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2387, allocations: 12 kB / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007868/0.2394, allocations: 367.7 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.2417, allocations: 1.718 MB / 413.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.2428, allocations: 410.9 kB / 414 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005465/0.2433, allocations: 237.3 kB / 414.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.2434, allocations: 11.88 kB / 414.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005165/0.2439, allocations: 276.7 kB / 414.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.2439, allocations: 0 / 414.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001739/0.2456, allocations: 0.7013 MB / 415.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.2457, allocations: 114.6 kB / 415.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.2461, allocations: 381.5 kB / 415.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.2461, allocations: 41.64 kB / 415.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.2463, allocations: 240.3 kB / 415.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.2464, allocations: 126.2 kB / 416.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.2466, allocations: 94.19 kB / 416.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2467, allocations: 358.8 kB / 416.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.247, allocations: 143 kB / 416.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.2475, allocations: 280.9 kB / 416.9 MB, free: 8.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007143/0.2482, allocations: 423.5 kB / 417.3 MB, free: 8.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.2482, allocations: 7.984 kB / 417.3 MB, free: 8.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009895/0.2492, allocations: 0.5305 MB / 417.9 MB, free: 7.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.2492, allocations: 41.72 kB / 417.9 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2493, allocations: 4 kB / 417.9 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/0.2495, allocations: 72.77 kB / 418 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.2499, allocations: 87.81 kB / 418.1 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.2516, allocations: 1.881 MB / 420 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.2519, allocations: 67.56 kB / 420 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.252, allocations: 23.94 kB / 420.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004071/0.2524, allocations: 253.2 kB / 420.3 MB, free: 5.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003598/0.2527, allocations: 260.9 kB / 420.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006319/0.2534, allocations: 422.7 kB / 421 MB, free: 4.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/0.2534, allocations: 160 / 421 MB, free: 4.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0009103/0.2543, allocations: 0.5144 MB / 421.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.2544, allocations: 33.7 kB / 421.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2544, allocations: 4 kB / 421.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.2546, allocations: 77.25 kB / 421.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.2549, allocations: 79.89 kB / 421.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.2564, allocations: 1.885 MB / 423.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.2568, allocations: 51.66 kB / 423.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.2568, allocations: 20 kB / 423.6 MB, free: 1.742 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.000143/0.257, allocations: 220.1 kB / 423.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.2571, allocations: 47.52 kB / 423.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.2581, allocations: 486.6 kB / 424.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.2581, allocations: 8.016 kB / 424.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2581, allocations: 0 / 424.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.2583, allocations: 152.4 kB / 424.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.2584, allocations: 12 kB / 424.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.2587, allocations: 35.84 kB / 424.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.2588, allocations: 35.95 kB / 424.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001311/0.2601, allocations: 0.5559 MB / 425.2 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001219/0.2613, allocations: 0.7386 MB / 425.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003396/0.2617, allocations: 155.9 kB / 426 MB, free: 15.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002517/0.2619, allocations: 263.2 kB / 426.3 MB, free: 15 MB / 350.1 MB Notification: Performance of Backend: time 4.91e-07/0.2619, allocations: 0 / 426.3 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.2635, allocations: 0.9324 MB / 427.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of SimCode: time 0.001567/0.2651, allocations: 1.437 MB / 428.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of Templates: time 0.01336/0.2785, allocations: 8.208 MB / 436.9 MB, free: 4.441 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