Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 180.9 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008842/0.000884, allocations: 92.59 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003024, allocations: 15.92 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2203, allocations: 50.4 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3211, allocations: 86.72 MB / 488.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.3213, allocations: 87.94 kB / 488.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03595/0.3573, allocations: 15.38 MB / 0.4919 GB, free: 10.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3573, allocations: 4.219 kB / 0.4919 GB, free: 10.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.672e-05/0.3574, allocations: 31.92 kB / 0.4919 GB, free: 10.14 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001881/0.3593, allocations: 1.151 MB / 0.493 GB, free: 8.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3593, allocations: 8.031 kB / 0.4931 GB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.3595, allocations: 110.7 kB / 0.4932 GB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009054/0.3604, allocations: 0.6293 MB / 0.4938 GB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.3605, allocations: 65.98 kB / 0.4938 GB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.3606, allocations: 87.95 kB / 0.4939 GB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.3621, allocations: 0.9591 MB / 0.4949 GB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.3622, allocations: 0 / 0.4949 GB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/0.3623, allocations: 40 kB / 0.4949 GB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.3623, allocations: 24 kB / 0.4949 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.3636, allocations: 0.73 MB / 0.4956 GB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004537/0.3682, allocations: 3.74 MB / 0.4993 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.3695, allocations: 0.794 MB / 0.5001 GB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.3695, allocations: 8.656 kB / 0.5001 GB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007281/0.3703, allocations: 459.2 kB / 0.5005 GB, free: 1.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 2.604e-06/0.3703, allocations: 0 / 0.5005 GB, free: 1.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.1489/0.5192, allocations: 1.691 MB / 0.5022 GB, free: 93.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.5192, allocations: 115 kB / 0.5023 GB, free: 93.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008477/0.5201, allocations: 0.6053 MB / 0.5029 GB, free: 93.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.5202, allocations: 43.38 kB / 0.5029 GB, free: 93.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.5204, allocations: 358.6 kB / 0.5032 GB, free: 93.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.5206, allocations: 243 kB / 0.5035 GB, free: 93.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.5206, allocations: 18.75 kB / 0.5035 GB, free: 93.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5207, allocations: 390 kB / 0.5039 GB, free: 92.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.5212, allocations: 266.3 kB / 0.5041 GB, free: 92.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/0.5217, allocations: 416.8 kB / 0.5045 GB, free: 92.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/0.5222, allocations: 303 kB / 0.5048 GB, free: 92.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.5222, allocations: 1.375 kB / 0.5048 GB, free: 92.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001612/0.5238, allocations: 0.9564 MB / 0.5057 GB, free: 92.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.5241, allocations: 1.342 MB / 0.5071 GB, free: 91.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5241, allocations: 4.422 kB / 0.5071 GB, free: 91.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008543/0.5249, allocations: 300.4 kB / 0.5073 GB, free: 91.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.5254, allocations: 93.09 kB / 0.5074 GB, free: 91.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/0.5293, allocations: 3.588 MB / 0.5109 GB, free: 89.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.5298, allocations: 89.98 kB / 0.511 GB, free: 89.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.5298, allocations: 30.16 kB / 0.511 GB, free: 89.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.134e-06/0.5298, allocations: 3.375 kB / 0.5111 GB, free: 89.61 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00117/0.531, allocations: 0.8361 MB / 0.5119 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.531, allocations: 7.906 kB / 0.5119 GB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006383/0.5317, allocations: 305.8 kB / 0.5122 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.532, allocations: 90.2 kB / 0.5123 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/0.5355, allocations: 3.575 MB / 0.5157 GB, free: 86.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.536, allocations: 81.2 kB / 0.5158 GB, free: 86.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.536, allocations: 31 kB / 0.5159 GB, free: 86.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003879/0.5364, allocations: 339.4 kB / 0.5162 GB, free: 86.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/0.5365, allocations: 81.75 kB / 0.5163 GB, free: 86.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.5367, allocations: 98.22 kB / 0.5163 GB, free: 86.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.5367, allocations: 11.64 kB / 0.5164 GB, free: 86.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.5367, allocations: 0 / 0.5164 GB, free: 86.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5367, allocations: 9.328 kB / 0.5164 GB, free: 86.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.5389, allocations: 1.935 MB / 0.5183 GB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.5389, allocations: 0 / 0.5183 GB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.5392, allocations: 65.75 kB / 0.5183 GB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006396/0.5398, allocations: 295 kB / 0.5186 GB, free: 85.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.5399, allocations: 11.41 kB / 0.5186 GB, free: 85.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003533/0.5434, allocations: 3.576 MB / 0.5221 GB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5435, allocations: 0 / 0.5221 GB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.5451, allocations: 1.327 MB / 0.5234 GB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.5453, allocations: 251.1 kB / 0.5236 GB, free: 81.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/0.5454, allocations: 19.12 kB / 0.5237 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.5458, allocations: 42.8 kB / 0.5237 GB, free: 81.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.546, allocations: 86.42 kB / 0.5238 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.546, allocations: 19.84 kB / 0.5238 GB, free: 81.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00045/0.5465, allocations: 473.5 kB / 0.5243 GB, free: 81.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5465, allocations: 0 / 0.5243 GB, free: 81.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009963/0.5475, allocations: 449.7 kB / 0.5247 GB, free: 81.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * Number of discrete variables: 26 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y_last,meanVoltage.y_last) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001489/0.5477, allocations: 139.8 kB / 0.5248 GB, free: 81.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.5499, allocations: 1.803 MB / 0.5266 GB, free: 80.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.5499, allocations: 7.188 kB / 0.5266 GB, free: 80.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.5508, allocations: 0.6654 MB / 0.5272 GB, free: 79.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.5513, allocations: 165.7 kB / 0.5274 GB, free: 79.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.5536, allocations: 1.874 MB / 0.5292 GB, free: 77.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.554, allocations: 1.012 MB / 0.5302 GB, free: 76.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002787/0.5543, allocations: 80.95 kB / 0.5303 GB, free: 76.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.5544, allocations: 51.44 kB / 0.5303 GB, free: 76.77 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5544, allocations: 0 / 0.5303 GB, free: 76.77 MB / 378.7 MB Notification: Performance of Templates: time 0.01877/0.5732, allocations: 16.01 MB / 0.546 GB, free: 64.02 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_R/HBridge_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches