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.001079/0.001079, 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.305/1.305, allocations: 227.2 MB / 245 MB, free: 7.637 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008789/0.000879, allocations: 93.81 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001934/0.0001934, allocations: 11.98 kB / 358 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1792, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09061/0.2699, allocations: 89.18 MB / 498.6 MB, free: 1.414 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.2701, allocations: 95.94 kB / 498.7 MB, free: 1.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03605/0.3062, allocations: 16.21 MB / 0.5028 GB, free: 1.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3062, allocations: 0 / 0.5028 GB, free: 1.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.597e-05/0.3063, allocations: 27.98 kB / 0.5029 GB, free: 0.9766 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.1792/0.4855, allocations: 1.169 MB / 0.504 GB, free: 87.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.4855, allocations: 9 kB / 0.504 GB, free: 87.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005411/0.4861, allocations: 123.6 kB / 0.5041 GB, free: 87.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.4877, allocations: 0.648 MB / 0.5048 GB, free: 87.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.631e-05/0.4879, allocations: 73.45 kB / 0.5048 GB, free: 87.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.4881, allocations: 92.97 kB / 0.5049 GB, free: 87.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.4904, allocations: 0.9792 MB / 0.5059 GB, free: 87.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.4904, allocations: 2.375 kB / 0.5059 GB, free: 87.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/0.4905, allocations: 39.5 kB / 0.5059 GB, free: 87.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.4905, allocations: 23.78 kB / 0.506 GB, free: 87.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.4921, allocations: 0.7581 MB / 0.5067 GB, free: 87.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004667/0.4968, allocations: 3.823 MB / 0.5104 GB, free: 85.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.4983, allocations: 0.8056 MB / 0.5112 GB, free: 85.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.242e-05/0.4983, allocations: 8.625 kB / 0.5112 GB, free: 85.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007357/0.4991, allocations: 469.6 kB / 0.5117 GB, free: 85.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 2.585e-06/0.4991, allocations: 0 / 0.5117 GB, free: 85.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.003286/0.5024, allocations: 1.572 MB / 0.5132 GB, free: 85.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.5024, allocations: 119.5 kB / 0.5133 GB, free: 84.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.5031, allocations: 0.6198 MB / 0.5139 GB, free: 84.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.5032, allocations: 41.64 kB / 0.514 GB, free: 84.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.5034, allocations: 380.2 kB / 0.5143 GB, free: 84.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.5035, allocations: 246.8 kB / 0.5146 GB, free: 84.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.5036, allocations: 18.5 kB / 0.5146 GB, free: 84.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.5037, allocations: 390.9 kB / 0.515 GB, free: 83.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/0.5041, allocations: 273.3 kB / 0.5152 GB, free: 83.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.5046, allocations: 422.7 kB / 0.5156 GB, free: 83.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.505, allocations: 311.1 kB / 0.5159 GB, free: 83.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.505, allocations: 0 / 0.5159 GB, free: 83.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00132/0.5064, allocations: 0.9685 MB / 0.5169 GB, free: 82.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.5066, allocations: 1.339 MB / 0.5182 GB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.5066, allocations: 3.875 kB / 0.5182 GB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007061/0.5073, allocations: 297 kB / 0.5185 GB, free: 81.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.5077, allocations: 108.6 kB / 0.5186 GB, free: 81.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003895/0.5116, allocations: 4.671 MB / 0.5231 GB, free: 77.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.5122, allocations: 96.25 kB / 0.5232 GB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.5123, allocations: 26.38 kB / 0.5232 GB, free: 77.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.5123, allocations: 3.25 kB / 0.5232 GB, free: 77.39 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/0.5135, allocations: 0.8618 MB / 0.5241 GB, free: 76.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5135, allocations: 3.375 kB / 0.5241 GB, free: 76.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/0.5141, allocations: 284.4 kB / 0.5244 GB, free: 76.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.5144, allocations: 102 kB / 0.5244 GB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/0.5183, allocations: 4.665 MB / 0.529 GB, free: 73.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.5188, allocations: 94.84 kB / 0.5291 GB, free: 73.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.5188, allocations: 25.97 kB / 0.5291 GB, free: 73 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 (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.0004496/0.5193, allocations: 346.1 kB / 0.5294 GB, free: 72.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.5194, allocations: 86.34 kB / 0.5295 GB, free: 72.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.5196, allocations: 101.4 kB / 0.5296 GB, free: 72.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.5196, allocations: 10.02 kB / 0.5296 GB, free: 72.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5196, allocations: 4 kB / 0.5296 GB, free: 72.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.5196, allocations: 3 kB / 0.5296 GB, free: 72.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.5218, allocations: 1.974 MB / 0.5316 GB, free: 71.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5218, allocations: 0 / 0.5316 GB, free: 71.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.5222, allocations: 74.44 kB / 0.5316 GB, free: 71.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006134/0.5228, allocations: 283.9 kB / 0.5319 GB, free: 71.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.5228, allocations: 17.98 kB / 0.5319 GB, free: 71.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.5265, allocations: 4.65 MB / 0.5365 GB, free: 67.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5265, allocations: 0 / 0.5365 GB, free: 67.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.5282, allocations: 1.354 MB / 0.5378 GB, free: 66.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.5285, allocations: 259.3 kB / 0.538 GB, free: 65.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-05/0.5286, allocations: 15.56 kB / 0.5381 GB, free: 65.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.529, allocations: 43.08 kB / 0.5381 GB, free: 65.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.5291, allocations: 85.06 kB / 0.5382 GB, free: 65.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.5292, allocations: 20 kB / 0.5382 GB, free: 65.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004812/0.5297, allocations: 483.8 kB / 0.5387 GB, free: 65.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5297, allocations: 0 / 0.5387 GB, free: 65.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001246/0.5309, allocations: 451.7 kB / 0.5391 GB, free: 64.98 MB / 378.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) * Number of clocked states: 0 () * 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.000182/0.5311, allocations: 154.8 kB / 0.5392 GB, free: 64.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.5334, allocations: 1.98 MB / 0.5412 GB, free: 62.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.5334, allocations: 4.125 kB / 0.5412 GB, free: 62.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007919/0.5342, allocations: 0.7591 MB / 0.5419 GB, free: 62.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.5348, allocations: 162.6 kB / 0.5421 GB, free: 62.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.5373, allocations: 1.984 MB / 0.544 GB, free: 60.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.5377, allocations: 1.029 MB / 0.545 GB, free: 59.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002917/0.538, allocations: 92.69 kB / 0.5451 GB, free: 59.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.5381, allocations: 47.44 kB / 0.5451 GB, free: 59.21 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5381, allocations: 0 / 0.5451 GB, free: 59.21 MB / 378.7 MB Notification: Performance of Templates: time 0.01875/0.5569, allocations: 15.99 MB / 0.5608 GB, free: 45.42 MB / 378.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