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.001122/0.001122, allocations: 175.8 kB / 17.4 MB, free: 4.309 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.291/1.291, allocations: 223.3 MB / 241.4 MB, free: 9.969 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.000736/0.0007361, allocations: 94.59 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 11.94 kB / 352.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2069, allocations: 50.4 MB / 402.8 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09731/0.3042, allocations: 86.79 MB / 489.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.3045, allocations: 95.92 kB / 489.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03634/0.3409, allocations: 15.4 MB / 0.4932 GB, free: 9.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3409, allocations: 224 / 0.4932 GB, free: 9.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.982e-05/0.341, allocations: 27.94 kB / 0.4932 GB, free: 9.855 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.002127/0.3431, allocations: 1.136 MB / 0.4943 GB, free: 8.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3432, allocations: 8.031 kB / 0.4944 GB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.3434, allocations: 115.6 kB / 0.4945 GB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.3444, allocations: 0.6534 MB / 0.4951 GB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.3445, allocations: 70.36 kB / 0.4952 GB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.3447, allocations: 88.38 kB / 0.4952 GB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.3463, allocations: 0.9606 MB / 0.4962 GB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.3463, allocations: 8.125 kB / 0.4962 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.322e-05/0.3464, allocations: 39.94 kB / 0.4962 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.3465, allocations: 20 kB / 0.4963 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.3479, allocations: 0.734 MB / 0.497 GB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004742/0.3526, allocations: 3.728 MB / 0.5006 GB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.354, allocations: 0.7866 MB / 0.5014 GB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.3547, allocations: 452.8 kB / 0.5018 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.3548, allocations: 8.656 kB / 0.5018 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007343/0.3555, allocations: 467.2 kB / 0.5023 GB, free: 316 kB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 2.755e-06/0.3555, allocations: 0 / 0.5023 GB, free: 316 kB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.1606/0.5162, allocations: 1.868 MB / 0.5041 GB, free: 93.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.5163, allocations: 115.6 kB / 0.5042 GB, free: 93.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.5175, allocations: 0.6788 MB / 0.5049 GB, free: 93.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-05/0.5176, allocations: 50.27 kB / 0.5049 GB, free: 93.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.5178, allocations: 366.7 kB / 0.5053 GB, free: 93.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.518, allocations: 235.3 kB / 0.5055 GB, free: 93.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.5181, allocations: 17.22 kB / 0.5055 GB, free: 93.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5182, allocations: 390.2 kB / 0.5059 GB, free: 92.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.5188, allocations: 263.3 kB / 0.5061 GB, free: 92.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.5194, allocations: 418.2 kB / 0.5065 GB, free: 92.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.5204, allocations: 0.6393 MB / 0.5071 GB, free: 92.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.5204, allocations: 1.031 kB / 0.5071 GB, free: 92.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001666/0.5221, allocations: 0.9737 MB / 0.5081 GB, free: 92.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.392e-05/0.5222, allocations: 218.9 kB / 0.5083 GB, free: 92.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5222, allocations: 3.5 kB / 0.5083 GB, free: 92.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007782/0.523, allocations: 317.1 kB / 0.5086 GB, free: 92.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.5234, allocations: 98.69 kB / 0.5087 GB, free: 92.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00409/0.5275, allocations: 3.638 MB / 0.5123 GB, free: 90.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.528, allocations: 91.31 kB / 0.5123 GB, free: 90.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.5281, allocations: 29.5 kB / 0.5124 GB, free: 90.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.5281, allocations: 8.75 kB / 0.5124 GB, free: 90.37 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001247/0.5294, allocations: 0.8566 MB / 0.5132 GB, free: 89.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5294, allocations: 3.5 kB / 0.5132 GB, free: 89.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006811/0.5301, allocations: 329 kB / 0.5135 GB, free: 89.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.5304, allocations: 87.86 kB / 0.5136 GB, free: 89.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.5343, allocations: 3.641 MB / 0.5172 GB, free: 87.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.5348, allocations: 76.44 kB / 0.5173 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.5349, allocations: 28.88 kB / 0.5173 GB, free: 87.29 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 (62): * Single equations (assignments): 60 * 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 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004089/0.5353, allocations: 348 kB / 0.5176 GB, free: 87.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.5354, allocations: 85.41 kB / 0.5177 GB, free: 86.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.5356, allocations: 90.77 kB / 0.5178 GB, free: 86.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.5356, allocations: 11.78 kB / 0.5178 GB, free: 86.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.5356, allocations: 3.281 kB / 0.5178 GB, free: 86.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5356, allocations: 7.453 kB / 0.5178 GB, free: 86.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.538, allocations: 1.949 MB / 0.5197 GB, free: 85.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5381, allocations: 2.062 kB / 0.5197 GB, free: 85.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.5383, allocations: 60.53 kB / 0.5198 GB, free: 85.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006794/0.539, allocations: 313 kB / 0.5201 GB, free: 85.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.814e-05/0.5391, allocations: 23.38 kB / 0.5201 GB, free: 85.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003786/0.5429, allocations: 3.643 MB / 0.5236 GB, free: 83.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5429, allocations: 0 / 0.5236 GB, free: 83.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.5447, allocations: 1.347 MB / 0.525 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.5449, allocations: 251 kB / 0.5252 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.994e-05/0.545, allocations: 15.81 kB / 0.5252 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.5454, allocations: 38.91 kB / 0.5252 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.5456, allocations: 85.83 kB / 0.5253 GB, free: 82.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.5457, allocations: 18.59 kB / 0.5253 GB, free: 82.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005094/0.5462, allocations: 481.2 kB / 0.5258 GB, free: 81.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5462, allocations: 0 / 0.5258 GB, free: 81.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001126/0.5473, allocations: 453.4 kB / 0.5262 GB, free: 81.9 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 (48): * Single equations (assignments): 41 * 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 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001801/0.5475, allocations: 140.6 kB / 0.5264 GB, free: 81.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.5501, allocations: 1.83 MB / 0.5282 GB, free: 80.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5501, allocations: 0 / 0.5282 GB, free: 80.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008639/0.551, allocations: 0.6801 MB / 0.5288 GB, free: 79.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007933/0.5518, allocations: 177.7 kB / 0.529 GB, free: 79.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.5546, allocations: 1.861 MB / 0.5308 GB, free: 77.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.5551, allocations: 0.9946 MB / 0.5318 GB, free: 76.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003451/0.5555, allocations: 91.95 kB / 0.5319 GB, free: 76.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.5556, allocations: 43.44 kB / 0.5319 GB, free: 76.56 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5556, allocations: 0 / 0.5319 GB, free: 76.56 MB / 378.7 MB Notification: Performance of Templates: time 0.02219/0.5778, allocations: 16.54 MB / 0.5481 GB, free: 62.93 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/jenkins1/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