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_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 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 107.5 kB / 18.4 MB, free: 4.656 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.001138/0.001138, allocations: 187 kB / 19.34 MB, free: 3.734 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.281/1.281, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001256/0.001256, allocations: 55.92 kB / 329.3 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07266/0.07392, allocations: 46.61 MB / 375.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R): time 0.004442/0.0784, allocations: 3.526 MB / 379.4 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.08006, allocations: 0.9549 MB / 380.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.08034, allocations: 11.94 kB / 380.4 MB, free: 0 / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1474/0.2277, allocations: 70.61 kB / 380.4 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.2282, allocations: 118.7 kB / 380.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.2288, allocations: 203.7 kB / 380.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007004/0.2295, allocations: 0.5727 MB / 381.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.2299, allocations: 217.4 kB / 381.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.2302, allocations: 219.4 kB / 381.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.2305, allocations: 223.1 kB / 382 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.596e-05/0.2306, allocations: 54.66 kB / 382 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.2307, allocations: 53.59 kB / 382.1 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.2308, allocations: 117.6 kB / 382.2 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.2311, allocations: 247.8 kB / 382.4 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006549/0.2318, allocations: 0.5932 MB / 383 MB, free: 9.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2318, allocations: 0.5312 kB / 383 MB, free: 9.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2318, allocations: 0 / 383 MB, free: 9.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.2318, allocations: 3.906 kB / 383 MB, free: 9.426 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001578/0.2334, allocations: 0.7941 MB / 383.8 MB, free: 8.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2334, allocations: 11.06 kB / 383.8 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.2336, allocations: 54.94 kB / 383.9 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.2341, allocations: 379.6 kB / 384.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.2341, allocations: 32.31 kB / 384.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.2342, allocations: 43.41 kB / 384.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007782/0.235, allocations: 441.8 kB / 384.8 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.235, allocations: 6.125 kB / 384.8 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.2351, allocations: 16.36 kB / 384.8 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2351, allocations: 8.688 kB / 384.8 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006232/0.2357, allocations: 294.6 kB / 385.1 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.2377, allocations: 1.572 MB / 386.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.2383, allocations: 286.6 kB / 386.9 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.2387, allocations: 158 kB / 387.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.2387, allocations: 4.516 kB / 387.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004098/0.2391, allocations: 245.9 kB / 387.3 MB, free: 7.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.2391, allocations: 4 kB / 387.3 MB, free: 7.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001532/0.2407, allocations: 0.6164 MB / 387.9 MB, free: 6.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.2407, allocations: 134.6 kB / 388.1 MB, free: 6.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.2411, allocations: 354.9 kB / 388.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.2411, allocations: 38.91 kB / 388.5 MB, free: 6.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.2412, allocations: 217.5 kB / 388.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.2413, allocations: 102.8 kB / 388.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.2414, allocations: 80.92 kB / 388.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.2415, allocations: 348.2 kB / 389.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.2418, allocations: 112.8 kB / 389.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.2421, allocations: 246.5 kB / 389.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.2426, allocations: 357 kB / 389.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.2426, allocations: 5.031 kB / 389.9 MB, free: 5.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007863/0.2434, allocations: 474.8 kB / 390.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.2434, allocations: 38.88 kB / 390.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.2434, allocations: 3.438 kB / 390.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/0.2437, allocations: 83.98 kB / 390.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.2439, allocations: 61.66 kB / 390.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.2455, allocations: 1.96 MB / 392.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.2458, allocations: 52.84 kB / 392.6 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.2458, allocations: 18.83 kB / 392.6 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000289/0.2461, allocations: 214.2 kB / 392.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002387/0.2464, allocations: 228.7 kB / 393 MB, free: 2.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003949/0.2468, allocations: 344.7 kB / 393.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.406e-06/0.2468, allocations: 1.5 kB / 393.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization_lambda0): time 0.0006861/0.2475, allocations: 450.3 kB / 393.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2475, allocations: 46.53 kB / 393.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2475, allocations: 3.656 kB / 393.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.2478, allocations: 76.97 kB / 393.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.2479, allocations: 53.58 kB / 394 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.2493, allocations: 1.963 MB / 395.9 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.2497, allocations: 37.27 kB / 396 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.2497, allocations: 20.75 kB / 396 MB, free: 464 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 (41): * Single equations (assignments): 39 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.2498, allocations: 225.5 kB / 396.2 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.2499, allocations: 41.91 kB / 396.2 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.631e-05/0.25, allocations: 44.39 kB / 396.3 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.25, allocations: 0 / 396.3 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.25, allocations: 1.406 kB / 396.3 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.2501, allocations: 151 kB / 396.4 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.2502, allocations: 9.172 kB / 396.4 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.2504, allocations: 24.45 kB / 396.5 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.2505, allocations: 24.33 kB / 396.5 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001062/0.2516, allocations: 0.5397 MB / 397 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009291/0.2525, allocations: 0.6938 MB / 397.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002549/0.2528, allocations: 126 kB / 397.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.2531, allocations: 243.5 kB / 398.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Backend: time 2.7e-07/0.2531, allocations: 3.938 kB / 398.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.2547, allocations: 0.8597 MB / 398.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of SimCode: time 0.001452/0.2561, allocations: 1.209 MB / 400.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of Templates: time 0.01356/0.2697, allocations: 7.224 MB / 407.4 MB, free: 11.25 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R_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_R/ChopperStepDown_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches