Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_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.0009415/0.0009415, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007947/0.0007947, allocations: 97.28 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002194/0.0002195, allocations: 4 kB / 357.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1876, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09366/0.2813, allocations: 88.86 MB / 498.3 MB, free: 1.723 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.2815, allocations: 91.94 kB / 498.4 MB, free: 1.633 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03572/0.3173, allocations: 15.87 MB / 0.5022 GB, free: 1.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3173, allocations: 3.938 kB / 0.5022 GB, free: 1.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.638e-05/0.3174, allocations: 20 kB / 0.5022 GB, free: 1.641 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002365/0.3198, allocations: 1.163 MB / 0.5034 GB, free: 420 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3198, allocations: 8.031 kB / 0.5034 GB, free: 412 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/0.3201, allocations: 122.9 kB / 0.5035 GB, free: 288 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1554/0.4755, allocations: 0.6317 MB / 0.5041 GB, free: 88.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.4757, allocations: 66.48 kB / 0.5042 GB, free: 88.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.4759, allocations: 92.48 kB / 0.5042 GB, free: 88.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.478, allocations: 0.9648 MB / 0.5052 GB, free: 88.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.478, allocations: 7.688 kB / 0.5052 GB, free: 88.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.838e-05/0.4781, allocations: 37.17 kB / 0.5052 GB, free: 88.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.4781, allocations: 22.45 kB / 0.5053 GB, free: 88.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.4797, allocations: 0.745 MB / 0.506 GB, free: 88.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005132/0.4848, allocations: 3.765 MB / 0.5097 GB, free: 86.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.4863, allocations: 0.7875 MB / 0.5104 GB, free: 86.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/0.4864, allocations: 11.34 kB / 0.5104 GB, free: 86.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008348/0.4873, allocations: 463 kB / 0.5109 GB, free: 86.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 3.848e-06/0.4873, allocations: 3.094 kB / 0.5109 GB, free: 86.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.004398/0.4917, allocations: 1.702 MB / 0.5125 GB, free: 86.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.4917, allocations: 117.6 kB / 0.5127 GB, free: 85.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006697/0.4924, allocations: 0.611 MB / 0.5133 GB, free: 85.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.4925, allocations: 43.08 kB / 0.5133 GB, free: 85.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.4927, allocations: 376.5 kB / 0.5137 GB, free: 85.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.4928, allocations: 244.2 kB / 0.5139 GB, free: 85.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.4929, allocations: 15.91 kB / 0.5139 GB, free: 85.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.493, allocations: 387.8 kB / 0.5143 GB, free: 84.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.4934, allocations: 265.8 kB / 0.5145 GB, free: 84.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.4939, allocations: 417.9 kB / 0.5149 GB, free: 84.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.4944, allocations: 302.9 kB / 0.5152 GB, free: 84.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.4944, allocations: 0 / 0.5152 GB, free: 84.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001346/0.4957, allocations: 0.9583 MB / 0.5162 GB, free: 83.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.4959, allocations: 1.343 MB / 0.5175 GB, free: 82.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.496, allocations: 7.938 kB / 0.5175 GB, free: 82.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007438/0.4967, allocations: 302 kB / 0.5178 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.4971, allocations: 96.36 kB / 0.5178 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/0.5008, allocations: 3.578 MB / 0.5213 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.5013, allocations: 96.95 kB / 0.5214 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.5013, allocations: 28.09 kB / 0.5215 GB, free: 79.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-06/0.5013, allocations: 3.406 kB / 0.5215 GB, free: 79.65 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001142/0.5025, allocations: 0.8447 MB / 0.5223 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5025, allocations: 3.438 kB / 0.5223 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006397/0.5031, allocations: 301.8 kB / 0.5226 GB, free: 79.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.5035, allocations: 94.58 kB / 0.5227 GB, free: 79.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/0.507, allocations: 3.572 MB / 0.5262 GB, free: 76.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.5074, allocations: 78.64 kB / 0.5262 GB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.5074, allocations: 27.44 kB / 0.5263 GB, free: 76.57 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.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.fire_n,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.fire_n,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.0003412/0.5078, allocations: 343.5 kB / 0.5266 GB, free: 76.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.5079, allocations: 80.81 kB / 0.5267 GB, free: 76.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.5081, allocations: 104.7 kB / 0.5268 GB, free: 76.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5081, allocations: 13.88 kB / 0.5268 GB, free: 76.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5081, allocations: 0 / 0.5268 GB, free: 76.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5081, allocations: 3.703 kB / 0.5268 GB, free: 76.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.5103, allocations: 1.941 MB / 0.5287 GB, free: 75.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5103, allocations: 7.203 kB / 0.5287 GB, free: 75.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.5106, allocations: 64.44 kB / 0.5287 GB, free: 75.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000648/0.5113, allocations: 291.1 kB / 0.529 GB, free: 75.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.5113, allocations: 16.94 kB / 0.529 GB, free: 75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/0.5149, allocations: 3.563 MB / 0.5325 GB, free: 72.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5149, allocations: 3.953 kB / 0.5325 GB, free: 72.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.5166, allocations: 1.326 MB / 0.5338 GB, free: 71.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.5169, allocations: 261.6 kB / 0.5341 GB, free: 70.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.5169, allocations: 12 kB / 0.5341 GB, free: 70.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.5173, allocations: 38.66 kB / 0.5341 GB, free: 70.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.5175, allocations: 98.28 kB / 0.5342 GB, free: 70.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.5176, allocations: 25.16 kB / 0.5342 GB, free: 70.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004696/0.518, allocations: 476.9 kB / 0.5347 GB, free: 70.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.518, allocations: 4 kB / 0.5347 GB, free: 70.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000989/0.519, allocations: 444.1 kB / 0.5351 GB, free: 69.82 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.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.fire_n,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.fire_n,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.0001631/0.5192, allocations: 140.9 kB / 0.5353 GB, free: 69.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002295/0.5215, allocations: 1.795 MB / 0.537 GB, free: 67.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5215, allocations: 4.875 kB / 0.537 GB, free: 67.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008099/0.5223, allocations: 0.6713 MB / 0.5377 GB, free: 67.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.523, allocations: 169 kB / 0.5378 GB, free: 67.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.5256, allocations: 1.9 MB / 0.5397 GB, free: 65.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.526, allocations: 1.018 MB / 0.5407 GB, free: 64.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003006/0.5263, allocations: 82.92 kB / 0.5408 GB, free: 64.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.5264, allocations: 50.95 kB / 0.5408 GB, free: 64.45 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5264, allocations: 0 / 0.5408 GB, free: 64.45 MB / 378.7 MB Notification: Performance of Templates: time 0.02324/0.5496, allocations: 16.1 MB / 0.5565 GB, free: 50.45 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches