Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_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.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 113.1 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.001376/0.001376, allocations: 180.3 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.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009749/0.0009749, allocations: 47.92 kB / 352 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2174, allocations: 49.43 MB / 401.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.005085/0.2225, allocations: 3.92 MB / 405.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.2245, allocations: 0.9856 MB / 406.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.2248, allocations: 11.94 kB / 406.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.2251, allocations: 95.02 kB / 406.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.2255, allocations: 142.7 kB / 406.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.2261, allocations: 231.6 kB / 406.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006927/0.2268, allocations: 0.6777 MB / 407.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.2272, allocations: 248.2 kB / 407.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/0.2275, allocations: 247.1 kB / 408 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.2279, allocations: 278.6 kB / 408.3 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.228, allocations: 60 kB / 408.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.2281, allocations: 64 kB / 408.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.2283, allocations: 135.5 kB / 408.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.2286, allocations: 290.5 kB / 408.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000656/0.2292, allocations: 0.6861 MB / 409.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2292, allocations: 0 / 409.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2293, allocations: 0 / 409.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.2293, allocations: 0 / 409.5 MB, free: 0.7812 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.001681/0.231, allocations: 0.8986 MB / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.231, allocations: 11.97 kB / 410.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.2311, allocations: 64.19 kB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.2318, allocations: 400.7 kB / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.2318, allocations: 37.31 kB / 410.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.2319, allocations: 52.38 kB / 410.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009297/0.2329, allocations: 0.5045 MB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.2329, allocations: 3.906 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.2329, allocations: 16 kB / 411.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.233, allocations: 15.98 kB / 411.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008347/0.2338, allocations: 367.7 kB / 411.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.2362, allocations: 1.718 MB / 413.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.2372, allocations: 410.8 kB / 414 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/0.2378, allocations: 237.3 kB / 414.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.2378, allocations: 4 kB / 414.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005409/0.2384, allocations: 284.5 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.215e-06/0.2384, allocations: 0 / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.00175/0.2401, allocations: 0.6936 MB / 415.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.2402, allocations: 122.5 kB / 415.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.2406, allocations: 373.5 kB / 415.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.2406, allocations: 37.7 kB / 415.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.2408, allocations: 248.2 kB / 415.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.2409, allocations: 130.2 kB / 416.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.2411, allocations: 86.25 kB / 416.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2412, allocations: 362.8 kB / 416.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.2416, allocations: 143 kB / 416.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.242, allocations: 269 kB / 416.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/0.2428, allocations: 427.5 kB / 417.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2428, allocations: 0 / 417.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001008/0.2438, allocations: 0.5382 MB / 417.9 MB, free: 7.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/0.2439, allocations: 37.73 kB / 417.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.2439, allocations: 4 kB / 417.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002624/0.2442, allocations: 72.75 kB / 418 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.2445, allocations: 91.81 kB / 418.1 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.2462, allocations: 1.885 MB / 419.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.2466, allocations: 63.56 kB / 420 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.2466, allocations: 16 kB / 420 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004406/0.2471, allocations: 253.1 kB / 420.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004004/0.2475, allocations: 261 kB / 420.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006605/0.2481, allocations: 414.6 kB / 420.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.2482, allocations: 0 / 420.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0009546/0.2491, allocations: 0.5144 MB / 421.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.2492, allocations: 37.7 kB / 421.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2492, allocations: 4 kB / 421.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/0.2494, allocations: 73.25 kB / 421.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.2497, allocations: 83.89 kB / 421.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.2513, allocations: 1.882 MB / 423.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.2517, allocations: 51.66 kB / 423.6 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.2517, allocations: 20 kB / 423.6 MB, free: 1.789 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,chopperStepUp.diode.off,chopperStepUp.transistor.off,chopperStepUp.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.0001931/0.2519, allocations: 228 kB / 423.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.252, allocations: 43.44 kB / 423.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.2531, allocations: 478.6 kB / 424.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.2531, allocations: 0 / 424.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2531, allocations: 3.984 kB / 424.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.2533, allocations: 156.5 kB / 424.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.2534, allocations: 4 kB / 424.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.2537, allocations: 31.97 kB / 424.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.2538, allocations: 35.89 kB / 424.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001365/0.2552, allocations: 0.5519 MB / 425.1 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001247/0.2564, allocations: 0.7348 MB / 425.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003354/0.2568, allocations: 155.9 kB / 426 MB, free: 15.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002703/0.2571, allocations: 259.2 kB / 426.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Backend: time 5.41e-07/0.2571, allocations: 4 kB / 426.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.2588, allocations: 0.9286 MB / 427.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of SimCode: time 0.001723/0.2605, allocations: 1.429 MB / 428.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Templates: time 0.01389/0.2744, allocations: 8.192 MB / 436.8 MB, free: 4.516 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepUp/ChopperStepUp_R/ChopperStepUp_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches