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.001586/0.001586, allocations: 110.5 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.001807/0.001807, allocations: 190.1 kB / 19.34 MB, free: 3.742 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.306/1.306, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00118/0.00118, allocations: 51.92 kB / 329.3 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07161/0.0728, allocations: 46.62 MB / 375.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.00478/0.07761, allocations: 3.616 MB / 379.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1488/0.2264, allocations: 0.9841 MB / 380.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003796/0.2268, allocations: 10.59 kB / 380.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.2271, allocations: 81.56 kB / 380.6 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.2273, allocations: 127.4 kB / 380.7 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.2278, allocations: 206.9 kB / 380.9 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004692/0.2283, allocations: 0.5974 MB / 381.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.2286, allocations: 235.1 kB / 381.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.2288, allocations: 223.2 kB / 381.9 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.2291, allocations: 241.3 kB / 382.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.824e-05/0.2292, allocations: 54.31 kB / 382.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.889e-05/0.2293, allocations: 55.53 kB / 382.3 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.2294, allocations: 119.6 kB / 382.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.2296, allocations: 261.2 kB / 382.6 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006239/0.2302, allocations: 0.6193 MB / 383.3 MB, free: 9.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2302, allocations: 0.5312 kB / 383.3 MB, free: 9.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2302, allocations: 3.312 kB / 383.3 MB, free: 9.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.2303, allocations: 0.5625 kB / 383.3 MB, free: 9.391 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.00128/0.2315, allocations: 0.8389 MB / 384.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2316, allocations: 10.08 kB / 384.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/0.2317, allocations: 56.14 kB / 384.2 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.2322, allocations: 380.6 kB / 384.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.2322, allocations: 40.64 kB / 384.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/0.2323, allocations: 41.64 kB / 384.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.233, allocations: 456.7 kB / 385.1 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.2331, allocations: 5.062 kB / 385.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.2331, allocations: 16.98 kB / 385.1 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.577e-06/0.2331, allocations: 14.5 kB / 385.1 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005819/0.2337, allocations: 303.7 kB / 385.4 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.2357, allocations: 1.645 MB / 387.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.2363, allocations: 315.5 kB / 387.4 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.2367, allocations: 166.2 kB / 387.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.2367, allocations: 5.266 kB / 387.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.2371, allocations: 257 kB / 387.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/0.2371, allocations: 0 / 387.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001422/0.2386, allocations: 0.6128 MB / 388.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.2386, allocations: 136 kB / 388.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.239, allocations: 353.5 kB / 388.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.239, allocations: 39.25 kB / 388.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2391, allocations: 228.1 kB / 389.1 MB, free: 6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.2392, allocations: 124.3 kB / 389.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.2393, allocations: 80.84 kB / 389.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.42e-05/0.2394, allocations: 361.6 kB / 389.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.2396, allocations: 115.7 kB / 389.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.2399, allocations: 251.7 kB / 390 MB, free: 5.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004774/0.2404, allocations: 379.7 kB / 390.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2404, allocations: 2.125 kB / 390.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007687/0.2412, allocations: 485 kB / 390.9 MB, free: 4.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.2412, allocations: 37.61 kB / 390.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2413, allocations: 5.25 kB / 390.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/0.2415, allocations: 73.06 kB / 391 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.2418, allocations: 61.97 kB / 391.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.2432, allocations: 1.892 MB / 393 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.2435, allocations: 61.66 kB / 393 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.2435, allocations: 19.12 kB / 393 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00029/0.2438, allocations: 225.6 kB / 393.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002453/0.2441, allocations: 236.4 kB / 393.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003926/0.2445, allocations: 355.2 kB / 393.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.2445, allocations: 1.5 kB / 393.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000657/0.2452, allocations: 465.9 kB / 394.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2452, allocations: 45.52 kB / 394.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2452, allocations: 4.531 kB / 394.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.2454, allocations: 69.58 kB / 394.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.2456, allocations: 63.33 kB / 394.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.2469, allocations: 1.881 MB / 396.3 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.2472, allocations: 47.02 kB / 396.4 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.2472, allocations: 18.5 kB / 396.4 MB, free: 232 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.0001067/0.2473, allocations: 210.6 kB / 396.6 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.2474, allocations: 53.88 kB / 396.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-05/0.2475, allocations: 46.73 kB / 396.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.2475, allocations: 1.359 kB / 396.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2475, allocations: 1.125 kB / 396.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.2477, allocations: 148.1 kB / 396.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.2478, allocations: 9.594 kB / 396.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.248, allocations: 30.56 kB / 396.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.2481, allocations: 26.61 kB / 396.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001059/0.2492, allocations: 0.5547 MB / 397.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009639/0.2502, allocations: 0.7148 MB / 398.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002576/0.2504, allocations: 128.3 kB / 398.3 MB, free: 15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002619/0.2507, allocations: 250.4 kB / 398.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of Backend: time 4.01e-07/0.2507, allocations: 0 / 398.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.2522, allocations: 0.8613 MB / 399.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of SimCode: time 0.001523/0.2537, allocations: 1.314 MB / 400.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of Templates: time 0.01296/0.2667, allocations: 7.319 MB / 408.1 MB, free: 10.8 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