Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001837/0.001837, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009207/0.0009207, allocations: 99.89 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.778e-05/1.781e-05, allocations: 4 kB / 343.7 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 51.48 MB / 395.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3647/0.4648, allocations: 88.45 MB / 483.6 MB, free: 4.766 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.4651, allocations: 86.23 kB / 483.7 MB, free: 4.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03553/0.5007, allocations: 16.04 MB / 499.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5007, allocations: 0 / 499.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.648e-05/0.5008, allocations: 24 kB / 499.8 MB, free: 7.574 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001978/0.5028, allocations: 1.082 MB / 0.4891 GB, free: 6.504 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5028, allocations: 8.031 kB / 0.4891 GB, free: 6.496 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.503, allocations: 126.2 kB / 0.4893 GB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5041, allocations: 0.6591 MB / 0.4899 GB, free: 5.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.5041, allocations: 31.94 kB / 0.4899 GB, free: 5.801 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.5043, allocations: 52 kB / 0.49 GB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001188/0.5055, allocations: 0.6366 MB / 0.4906 GB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.5068, allocations: 0.8157 MB / 0.4914 GB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.5068, allocations: 4 kB / 0.4914 GB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/0.5069, allocations: 3.984 kB / 0.4914 GB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.5069, allocations: 24.34 kB / 0.4914 GB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004562/0.5115, allocations: 3.618 MB / 0.495 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.5125, allocations: 0.732 MB / 0.4957 GB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006464/0.5132, allocations: 436.2 kB / 0.4961 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.623e-05/0.5132, allocations: 12.78 kB / 0.4961 GB, free: 1.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006419/0.5139, allocations: 428.2 kB / 0.4965 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.805e-06/0.5139, allocations: 0 / 0.4965 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.001232/0.5151, allocations: 0.7238 MB / 0.4972 GB, free: 204 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.5152, allocations: 119.6 kB / 0.4973 GB, free: 60 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/0.5158, allocations: 446 kB / 0.4978 GB, free: 15.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.5159, allocations: 37.69 kB / 0.4978 GB, free: 15.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.5162, allocations: 376.4 kB / 0.4982 GB, free: 15.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.5164, allocations: 240.5 kB / 0.4984 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.5164, allocations: 0 / 0.4984 GB, free: 14.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5166, allocations: 374.8 kB / 0.4987 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.5169, allocations: 230.1 kB / 0.499 GB, free: 14.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.5174, allocations: 380.7 kB / 0.4993 GB, free: 13.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.5178, allocations: 240.5 kB / 0.4996 GB, free: 13.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5178, allocations: 4 kB / 0.4996 GB, free: 13.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001242/0.519, allocations: 0.8056 MB / 0.5003 GB, free: 12.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005111/0.5196, allocations: 1.338 MB / 0.5017 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.5196, allocations: 5.688 kB / 0.5017 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008027/0.5204, allocations: 283.6 kB / 0.5019 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.5209, allocations: 107.8 kB / 0.502 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004862/0.5257, allocations: 4.437 MB / 0.5064 GB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006381/0.5264, allocations: 63.56 kB / 0.5064 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.5265, allocations: 24 kB / 0.5065 GB, free: 6.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5265, allocations: 4 kB / 0.5065 GB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001196/0.5277, allocations: 0.7149 MB / 0.5072 GB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5277, allocations: 4 kB / 0.5072 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006665/0.5284, allocations: 286.1 kB / 0.5074 GB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.5288, allocations: 99.83 kB / 0.5075 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004955/0.5338, allocations: 4.426 MB / 0.5118 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005879/0.5344, allocations: 55.66 kB / 0.5119 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.5344, allocations: 28 kB / 0.5119 GB, free: 448 kB / 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002478/0.5347, allocations: 135.5 kB / 0.5121 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.5348, allocations: 79.05 kB / 0.5121 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.535, allocations: 79.45 kB / 0.5122 GB, free: 144 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.5351, allocations: 8 kB / 0.5122 GB, free: 136 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5351, allocations: 1.969 kB / 0.5122 GB, free: 136 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.5351, allocations: 11.98 kB / 0.5122 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.5378, allocations: 1.743 MB / 0.5139 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5378, allocations: 3.984 kB / 0.5139 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.5382, allocations: 75.84 kB / 0.514 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006711/0.5389, allocations: 287.6 kB / 0.5143 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.5389, allocations: 4 kB / 0.5143 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004613/0.5436, allocations: 4.407 MB / 0.5186 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5436, allocations: 0 / 0.5186 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.5453, allocations: 1.222 MB / 0.5198 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.5456, allocations: 248.1 kB / 0.52 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/0.5457, allocations: 4 kB / 0.52 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.5461, allocations: 27.97 kB / 0.52 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.5463, allocations: 88.59 kB / 0.5201 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.5463, allocations: 23.98 kB / 0.5202 GB, free: 7.684 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003755/0.5467, allocations: 327 kB / 0.5205 GB, free: 7.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5467, allocations: 4 kB / 0.5205 GB, free: 7.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001385/0.5481, allocations: 414.8 kB / 0.5209 GB, free: 6.953 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002003/0.5483, allocations: 130.2 kB / 0.521 GB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00251/0.5508, allocations: 1.821 MB / 0.5228 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5508, allocations: 0 / 0.5228 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008653/0.5517, allocations: 0.6998 MB / 0.5235 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.5523, allocations: 122.8 kB / 0.5236 GB, free: 4.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.5548, allocations: 1.212 MB / 0.5248 GB, free: 2.855 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.5553, allocations: 1.027 MB / 0.5258 GB, free: 1.793 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003811/0.5557, allocations: 97.23 kB / 0.5259 GB, free: 1.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.5558, allocations: 35.44 kB / 0.5259 GB, free: 1.664 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5558, allocations: 0 / 0.5259 GB, free: 1.664 MB / 394.7 MB Notification: Performance of Templates: time 0.02443/0.5803, allocations: 14.49 MB / 0.54 GB, free: 3.348 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_RL/HBridge_RL.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches