Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.0009547/0.0009548, allocations: 200.1 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 226.5 MB / 245.4 MB, free: 8.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007653/0.0007653, allocations: 99.72 kB / 297.4 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001976/0.0001976, allocations: 11.98 kB / 357.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1757, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0924/0.2681, allocations: 88.84 MB / 497.5 MB, free: 2.738 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.2684, allocations: 83.95 kB / 497.6 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03673/0.3052, allocations: 16.03 MB / 0.5016 GB, free: 2.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3052, allocations: 0 / 0.5016 GB, free: 2.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.133e-05/0.3053, allocations: 31.92 kB / 0.5016 GB, free: 2.48 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002091/0.3074, allocations: 1.16 MB / 0.5028 GB, free: 1.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.3074, allocations: 8.031 kB / 0.5028 GB, free: 1.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.3077, allocations: 119.5 kB / 0.5029 GB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/0.3086, allocations: 0.6651 MB / 0.5035 GB, free: 432 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/0.3087, allocations: 66.38 kB / 0.5036 GB, free: 368 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.3088, allocations: 88.38 kB / 0.5037 GB, free: 280 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.151/0.4598, allocations: 0.9764 MB / 0.5046 GB, free: 88.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.4599, allocations: 6.406 kB / 0.5046 GB, free: 88.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.46, allocations: 36.39 kB / 0.5047 GB, free: 88.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.4601, allocations: 24.53 kB / 0.5047 GB, free: 88.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.4617, allocations: 0.7493 MB / 0.5054 GB, free: 88.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004733/0.4664, allocations: 3.794 MB / 0.5091 GB, free: 87.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.4678, allocations: 0.8011 MB / 0.5099 GB, free: 87.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008959/0.4687, allocations: 479.7 kB / 0.5104 GB, free: 87.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.533e-05/0.4687, allocations: 8.188 kB / 0.5104 GB, free: 87.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006886/0.4694, allocations: 470.5 kB / 0.5108 GB, free: 87.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 3.898e-06/0.4695, allocations: 2.375 kB / 0.5108 GB, free: 87.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.003359/0.4728, allocations: 1.602 MB / 0.5124 GB, free: 86.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.4729, allocations: 119.1 kB / 0.5125 GB, free: 86.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007171/0.4736, allocations: 0.6892 MB / 0.5132 GB, free: 86.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.4737, allocations: 48.14 kB / 0.5132 GB, free: 86.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.4739, allocations: 370 kB / 0.5136 GB, free: 86.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.474, allocations: 250.5 kB / 0.5138 GB, free: 85.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.474, allocations: 15.16 kB / 0.5138 GB, free: 85.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.4741, allocations: 388.6 kB / 0.5142 GB, free: 85.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/0.4746, allocations: 279.8 kB / 0.5145 GB, free: 85.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/0.4751, allocations: 424.4 kB / 0.5149 GB, free: 85.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000853/0.476, allocations: 0.6516 MB / 0.5155 GB, free: 84.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.476, allocations: 7.406 kB / 0.5155 GB, free: 84.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00136/0.4773, allocations: 0.9649 MB / 0.5165 GB, free: 84.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/0.4774, allocations: 224.4 kB / 0.5167 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4774, allocations: 3.938 kB / 0.5167 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006931/0.4781, allocations: 294.2 kB / 0.517 GB, free: 84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.4785, allocations: 100.8 kB / 0.5171 GB, free: 84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003809/0.4823, allocations: 4.585 MB / 0.5215 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.4828, allocations: 93.86 kB / 0.5216 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.4829, allocations: 28.31 kB / 0.5217 GB, free: 80.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.481e-06/0.4829, allocations: 3.938 kB / 0.5217 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001229/0.4841, allocations: 0.8644 MB / 0.5225 GB, free: 79.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4841, allocations: 3.594 kB / 0.5225 GB, free: 79.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006138/0.4847, allocations: 295.4 kB / 0.5228 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.4851, allocations: 100.2 kB / 0.5229 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003721/0.4888, allocations: 4.591 MB / 0.5274 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.4892, allocations: 81.09 kB / 0.5274 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.4893, allocations: 27.81 kB / 0.5275 GB, free: 75.88 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 (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.000329/0.4896, allocations: 348.1 kB / 0.5278 GB, free: 75.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/0.4897, allocations: 87.47 kB / 0.5279 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.4899, allocations: 104 kB / 0.528 GB, free: 75.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4899, allocations: 7.406 kB / 0.528 GB, free: 75.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.4899, allocations: 0 / 0.528 GB, free: 75.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.4899, allocations: 3.656 kB / 0.528 GB, free: 75.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.4922, allocations: 1.98 MB / 0.5299 GB, free: 74.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4922, allocations: 0 / 0.5299 GB, free: 74.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.4925, allocations: 73.92 kB / 0.53 GB, free: 74.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006131/0.4932, allocations: 282.1 kB / 0.5303 GB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.4932, allocations: 14.8 kB / 0.5303 GB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/0.4969, allocations: 4.588 MB / 0.5348 GB, free: 70.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4969, allocations: 0 / 0.5348 GB, free: 70.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.4986, allocations: 1.356 MB / 0.5361 GB, free: 69.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.4989, allocations: 256.1 kB / 0.5363 GB, free: 68.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.301e-05/0.499, allocations: 19.56 kB / 0.5363 GB, free: 68.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.4994, allocations: 38.27 kB / 0.5364 GB, free: 68.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.4996, allocations: 90.42 kB / 0.5365 GB, free: 68.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.4996, allocations: 24 kB / 0.5365 GB, free: 68.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004755/0.5001, allocations: 480.8 kB / 0.537 GB, free: 68.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5001, allocations: 0 / 0.537 GB, free: 68.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001059/0.5012, allocations: 453 kB / 0.5374 GB, free: 68 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.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 (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.0001522/0.5013, allocations: 151.1 kB / 0.5375 GB, free: 67.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.5037, allocations: 1.998 MB / 0.5395 GB, free: 65.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5037, allocations: 0.875 kB / 0.5395 GB, free: 65.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008214/0.5045, allocations: 0.7519 MB / 0.5402 GB, free: 65.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.5053, allocations: 178.8 kB / 0.5404 GB, free: 65.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.5077, allocations: 2.016 MB / 0.5424 GB, free: 63.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.5081, allocations: 1.007 MB / 0.5433 GB, free: 62.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.5083, allocations: 55.44 kB / 0.5434 GB, free: 62.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5083, allocations: 0 / 0.5434 GB, free: 62.23 MB / 378.7 MB Notification: Performance of Templates: time 0.01675/0.525, allocations: 19.77 MB / 0.5627 GB, free: 44.65 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches