Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 202.8 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 226.5 MB / 245.3 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007803/0.0007807, allocations: 99.69 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002175/0.0002175, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1797, allocations: 51.28 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09154/0.2713, allocations: 88.51 MB / 497.2 MB, free: 3.066 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.2716, allocations: 91.94 kB / 497.3 MB, free: 2.977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0355/0.3071, allocations: 15.69 MB / 0.5009 GB, free: 3.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3071, allocations: 0 / 0.5009 GB, free: 3.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.215e-05/0.3072, allocations: 28 kB / 0.501 GB, free: 3.164 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.001812/0.309, allocations: 1.136 MB / 0.5021 GB, free: 1.961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.309, allocations: 12.03 kB / 0.5021 GB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.3092, allocations: 111.6 kB / 0.5022 GB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008818/0.3101, allocations: 0.6651 MB / 0.5028 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.3102, allocations: 66.38 kB / 0.5029 GB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.3103, allocations: 88.38 kB / 0.503 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.15/0.4603, allocations: 0.9558 MB / 0.5039 GB, free: 89.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.866e-05/0.4604, allocations: 3 kB / 0.5039 GB, free: 89.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.4607, allocations: 36.28 kB / 0.504 GB, free: 89.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.4608, allocations: 20.94 kB / 0.504 GB, free: 89.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.4627, allocations: 0.7394 MB / 0.5047 GB, free: 89.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004814/0.4675, allocations: 3.736 MB / 0.5084 GB, free: 87.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.4687, allocations: 0.7953 MB / 0.5091 GB, free: 87.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007022/0.4695, allocations: 459 kB / 0.5096 GB, free: 87.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-05/0.4695, allocations: 10.03 kB / 0.5096 GB, free: 87.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007918/0.4703, allocations: 456.5 kB / 0.51 GB, free: 87.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 2.735e-06/0.4703, allocations: 0 / 0.51 GB, free: 87.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.005063/0.4754, allocations: 1.882 MB / 0.5119 GB, free: 87.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.4755, allocations: 115.6 kB / 0.512 GB, free: 87.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007696/0.4763, allocations: 0.6873 MB / 0.5126 GB, free: 86.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.4763, allocations: 41.42 kB / 0.5127 GB, free: 86.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.4765, allocations: 364.5 kB / 0.513 GB, free: 86.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.4767, allocations: 246.1 kB / 0.5133 GB, free: 86.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.4767, allocations: 14.69 kB / 0.5133 GB, free: 86.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.4768, allocations: 383 kB / 0.5136 GB, free: 86.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.4773, allocations: 269.9 kB / 0.5139 GB, free: 86.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.4778, allocations: 417.1 kB / 0.5143 GB, free: 85.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008152/0.4786, allocations: 0.643 MB / 0.5149 GB, free: 85.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4786, allocations: 0 / 0.5149 GB, free: 85.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001388/0.48, allocations: 0.9711 MB / 0.5159 GB, free: 84.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.33e-05/0.4801, allocations: 220.2 kB / 0.5161 GB, free: 84.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4801, allocations: 3.656 kB / 0.5161 GB, free: 84.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007767/0.4809, allocations: 325.7 kB / 0.5164 GB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.4813, allocations: 89.38 kB / 0.5165 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003872/0.4851, allocations: 3.655 MB / 0.52 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.4857, allocations: 90.08 kB / 0.5201 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.4858, allocations: 28.53 kB / 0.5202 GB, free: 81.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.341e-06/0.4858, allocations: 3.312 kB / 0.5202 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001264/0.487, allocations: 0.8536 MB / 0.521 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4871, allocations: 11.59 kB / 0.521 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007042/0.4878, allocations: 319.2 kB / 0.5213 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.4881, allocations: 91.3 kB / 0.5214 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/0.4919, allocations: 3.638 MB / 0.5249 GB, free: 78.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.4924, allocations: 78.27 kB / 0.525 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.4924, allocations: 35.88 kB / 0.5251 GB, free: 78.85 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.0004572/0.4929, allocations: 336.8 kB / 0.5254 GB, free: 78.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.493, allocations: 81.16 kB / 0.5255 GB, free: 78.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.4932, allocations: 107 kB / 0.5256 GB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4932, allocations: 11.53 kB / 0.5256 GB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4932, allocations: 0 / 0.5256 GB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.4932, allocations: 3.844 kB / 0.5256 GB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.4956, allocations: 1.948 MB / 0.5275 GB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4956, allocations: 2.906 kB / 0.5275 GB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.4958, allocations: 57.7 kB / 0.5275 GB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006956/0.4965, allocations: 322.2 kB / 0.5278 GB, free: 77.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.4966, allocations: 18.77 kB / 0.5279 GB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/0.5004, allocations: 3.649 MB / 0.5314 GB, free: 74.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5004, allocations: 3.75 kB / 0.5314 GB, free: 74.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.5023, allocations: 1.339 MB / 0.5327 GB, free: 73.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.5026, allocations: 257.6 kB / 0.533 GB, free: 73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/0.5027, allocations: 16 kB / 0.533 GB, free: 72.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.5031, allocations: 42.09 kB / 0.533 GB, free: 72.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.5033, allocations: 82.42 kB / 0.5331 GB, free: 72.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.5033, allocations: 23.75 kB / 0.5331 GB, free: 72.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005287/0.5039, allocations: 480.3 kB / 0.5336 GB, free: 72.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5039, allocations: 3.5 kB / 0.5336 GB, free: 72.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00114/0.505, allocations: 451.2 kB / 0.534 GB, free: 72.04 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.0001794/0.5052, allocations: 143.4 kB / 0.5342 GB, free: 71.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002501/0.5077, allocations: 1.815 MB / 0.5359 GB, free: 70.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.5077, allocations: 4.125 kB / 0.5359 GB, free: 70.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008867/0.5086, allocations: 0.687 MB / 0.5366 GB, free: 69.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000829/0.5095, allocations: 171.4 kB / 0.5368 GB, free: 69.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.512, allocations: 1.916 MB / 0.5386 GB, free: 67.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.5125, allocations: 0.9965 MB / 0.5396 GB, free: 66.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.5126, allocations: 55.44 kB / 0.5397 GB, free: 66.66 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5126, allocations: 3.062 kB / 0.5397 GB, free: 66.66 MB / 378.7 MB Notification: Performance of Templates: time 0.01504/0.5277, allocations: 15.41 MB / 0.5547 GB, free: 53.28 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches