Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_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.001468/0.001468, allocations: 107.5 kB / 18.4 MB, free: 4.68 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.00162/0.00162, allocations: 183.1 kB / 19.33 MB, free: 3.758 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.282/1.282, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001142/0.001142, allocations: 55.88 kB / 329.3 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06949/0.07065, allocations: 46.62 MB / 375.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.004475/0.07515, allocations: 3.729 MB / 379.6 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1403/0.2154, allocations: 0.9872 MB / 380.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.2158, allocations: 10.44 kB / 380.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.2161, allocations: 89.05 kB / 380.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.2164, allocations: 125.5 kB / 380.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.217, allocations: 212.4 kB / 381 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005594/0.2175, allocations: 0.6264 MB / 381.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.2179, allocations: 246.3 kB / 381.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.2181, allocations: 232.7 kB / 382.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.2184, allocations: 259.9 kB / 382.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.337e-05/0.2185, allocations: 56.84 kB / 382.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.992e-05/0.2186, allocations: 56.94 kB / 382.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.2187, allocations: 122.9 kB / 382.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.219, allocations: 274.6 kB / 382.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000691/0.2197, allocations: 0.6478 MB / 383.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2197, allocations: 0 / 383.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2197, allocations: 3.5 kB / 383.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.2197, allocations: 0 / 383.5 MB, free: 9.777 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001293/0.221, allocations: 0.8364 MB / 384.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2211, allocations: 9.688 kB / 384.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.846e-05/0.2212, allocations: 62.73 kB / 384.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.2217, allocations: 397 kB / 384.8 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.2217, allocations: 33.27 kB / 384.8 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/0.2218, allocations: 52.06 kB / 384.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/0.2226, allocations: 476.1 kB / 385.4 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.2226, allocations: 9.281 kB / 385.4 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.2227, allocations: 20.42 kB / 385.4 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2227, allocations: 11.06 kB / 385.4 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.2233, allocations: 318.1 kB / 385.7 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.2253, allocations: 1.671 MB / 387.4 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/0.226, allocations: 339.8 kB / 387.7 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/0.2265, allocations: 214 kB / 387.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.2265, allocations: 9.797 kB / 387.9 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004296/0.227, allocations: 261.6 kB / 388.2 MB, free: 6.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.944e-06/0.227, allocations: 0 / 388.2 MB, free: 6.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.001409/0.2284, allocations: 0.6372 MB / 388.8 MB, free: 6.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.2284, allocations: 109.5 kB / 388.9 MB, free: 6.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.2288, allocations: 361.9 kB / 389.3 MB, free: 6.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.2288, allocations: 33.44 kB / 389.3 MB, free: 6.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.2289, allocations: 245.9 kB / 389.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/0.229, allocations: 119.9 kB / 389.7 MB, free: 6.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.2291, allocations: 92.73 kB / 389.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.2292, allocations: 352.5 kB / 390.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.2295, allocations: 130 kB / 390.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.2298, allocations: 257 kB / 390.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.2303, allocations: 391.8 kB / 390.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2303, allocations: 1.125 kB / 390.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007922/0.2311, allocations: 0.4958 MB / 391.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.2312, allocations: 33.53 kB / 391.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2312, allocations: 4.688 kB / 391.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.2314, allocations: 75.55 kB / 391.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.2317, allocations: 77.45 kB / 391.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.233, allocations: 1.878 MB / 393.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.2333, allocations: 62.53 kB / 393.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.2334, allocations: 18.53 kB / 393.5 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002997/0.2337, allocations: 233.5 kB / 393.7 MB, free: 2.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000254/0.2339, allocations: 238.9 kB / 394 MB, free: 2.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000421/0.2344, allocations: 371.3 kB / 394.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.464e-06/0.2344, allocations: 1.406 kB / 394.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.0006859/0.2351, allocations: 486.2 kB / 394.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2351, allocations: 38.69 kB / 394.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2351, allocations: 3.625 kB / 394.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.2353, allocations: 68.66 kB / 394.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.2355, allocations: 77.34 kB / 395 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.2367, allocations: 1.892 MB / 396.9 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.237, allocations: 39.88 kB / 396.9 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.2371, allocations: 18.12 kB / 396.9 MB, free: 336 kB / 318.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,$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,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 (49): * Single equations (assignments): 47 * 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.0001355/0.2372, allocations: 224.8 kB / 397.2 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.2373, allocations: 44.89 kB / 397.2 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.601e-05/0.2374, allocations: 50.11 kB / 397.3 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.2374, allocations: 2.891 kB / 397.3 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2374, allocations: 0 / 397.3 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.2376, allocations: 145.5 kB / 397.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.2377, allocations: 12.55 kB / 397.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.2379, allocations: 23.2 kB / 397.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.238, allocations: 35.75 kB / 397.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001145/0.2392, allocations: 0.4995 MB / 398 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001018/0.2402, allocations: 0.6644 MB / 398.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002828/0.2405, allocations: 136.8 kB / 398.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.2408, allocations: 248.2 kB / 399 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Backend: time 6.51e-07/0.2408, allocations: 0 / 399 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.2423, allocations: 0.9029 MB / 399.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of SimCode: time 0.001599/0.2439, allocations: 1.39 MB / 401.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of Templates: time 0.01323/0.2572, allocations: 7.85 MB / 409.1 MB, free: 10.53 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_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/ChopperStepUp/ChopperStepUp_R/ChopperStepUp_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches