Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.978/1.978, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001599/0.001599, allocations: 81.09 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.121e-05, allocations: 4 kB / 314.8 MB, free: 9.125 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3241, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.4571, allocations: 84.94 MB / 447.3 MB, free: 1.344 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.4575, allocations: 83.94 kB / 447.4 MB, free: 1.262 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06043/0.5179, allocations: 15.02 MB / 462.4 MB, free: 2.246 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.518, allocations: 0 / 462.4 MB, free: 2.246 MB / 347.1 MB Notification: Performance of Transformations before backend: time 9.344e-05/0.5181, allocations: 27.98 kB / 462.4 MB, free: 2.219 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003077/0.5212, allocations: 1.049 MB / 463.5 MB, free: 1.113 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.5213, allocations: 8.031 kB / 463.5 MB, free: 1.105 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.5216, allocations: 110.7 kB / 463.6 MB, free: 0.9961 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.5233, allocations: 0.6448 MB / 464.2 MB, free: 312 kB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.5234, allocations: 28 kB / 464.3 MB, free: 284 kB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.5236, allocations: 48 kB / 464.3 MB, free: 236 kB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001978/0.5256, allocations: 0.6171 MB / 464.9 MB, free: 15.61 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.5277, allocations: 0.7875 MB / 465.7 MB, free: 14.78 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.5278, allocations: 0 / 465.7 MB, free: 14.78 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.5279, allocations: 4 kB / 465.7 MB, free: 14.78 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.5279, allocations: 20.94 kB / 465.7 MB, free: 14.76 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007786/0.5357, allocations: 3.532 MB / 469.3 MB, free: 11.12 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.5377, allocations: 0.7225 MB / 470 MB, free: 10.38 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.5389, allocations: 415.6 kB / 470.4 MB, free: 9.973 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.256e-05/0.5389, allocations: 8.719 kB / 470.4 MB, free: 9.965 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.54, allocations: 419.8 kB / 470.8 MB, free: 9.535 MB / 363.1 MB Notification: Performance of pre-optimization done (n=81): time 3.256e-06/0.54, allocations: 0 / 470.8 MB, free: 9.535 MB / 363.1 MB Notification: Performance of matching and sorting (n=81): time 0.002424/0.5425, allocations: 0.7743 MB / 471.6 MB, free: 8.754 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/0.5426, allocations: 127.5 kB / 471.7 MB, free: 8.605 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008781/0.5435, allocations: 433.9 kB / 472.1 MB, free: 8.176 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.5436, allocations: 33.69 kB / 472.2 MB, free: 8.137 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.544, allocations: 402.8 kB / 472.6 MB, free: 7.738 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.5444, allocations: 228.6 kB / 472.8 MB, free: 7.512 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.5444, allocations: 0 / 472.8 MB, free: 7.512 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5446, allocations: 342.8 kB / 473.1 MB, free: 7.168 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006423/0.5452, allocations: 225.6 kB / 473.3 MB, free: 6.945 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007652/0.546, allocations: 365.5 kB / 473.7 MB, free: 6.535 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006641/0.5467, allocations: 232.5 kB / 473.9 MB, free: 6.309 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.5467, allocations: 7.953 kB / 473.9 MB, free: 6.301 MB / 363.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002092/0.5488, allocations: 0.7566 MB / 474.7 MB, free: 5.539 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006372/0.5495, allocations: 1.344 MB / 476 MB, free: 4.086 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.5495, allocations: 4 kB / 476 MB, free: 4.082 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.5511, allocations: 324.6 kB / 476.4 MB, free: 3.762 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.5518, allocations: 91.81 kB / 476.4 MB, free: 3.672 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007568/0.5594, allocations: 3.521 MB / 480 MB, free: 28 kB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009951/0.5605, allocations: 67.56 kB / 480 MB, free: 15.96 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.392e-05/0.5606, allocations: 27.94 kB / 480.1 MB, free: 15.93 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5606, allocations: 6.812 kB / 480.1 MB, free: 15.93 MB / 379.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002036/0.5626, allocations: 0.7068 MB / 480.8 MB, free: 15.22 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.5627, allocations: 11.95 kB / 480.8 MB, free: 15.21 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.5639, allocations: 292.7 kB / 481.1 MB, free: 14.92 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/0.5646, allocations: 91.77 kB / 481.2 MB, free: 14.83 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007421/0.572, allocations: 3.479 MB / 484.6 MB, free: 11.23 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/0.5728, allocations: 55.52 kB / 484.7 MB, free: 11.18 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.756e-05/0.5729, allocations: 28 kB / 484.7 MB, free: 11.15 MB / 379.1 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,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$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 () * 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.0002973/0.5732, allocations: 135 kB / 484.8 MB, free: 11.02 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.5735, allocations: 75.14 kB / 484.9 MB, free: 10.95 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.5737, allocations: 71.3 kB / 485 MB, free: 10.87 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.5738, allocations: 8 kB / 485 MB, free: 10.86 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.5738, allocations: 7.984 kB / 485 MB, free: 10.86 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.5738, allocations: 3.984 kB / 485 MB, free: 10.85 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/0.5779, allocations: 1.732 MB / 486.7 MB, free: 9.074 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.5779, allocations: 0 / 486.7 MB, free: 9.074 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.5785, allocations: 59.91 kB / 486.8 MB, free: 9.016 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.5799, allocations: 300.9 kB / 487.1 MB, free: 8.719 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-05/0.58, allocations: 8 kB / 487.1 MB, free: 8.711 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007515/0.5875, allocations: 3.513 MB / 490.6 MB, free: 5.078 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.5876, allocations: 0 / 490.6 MB, free: 5.078 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.5907, allocations: 1.225 MB / 491.8 MB, free: 3.832 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005373/0.5912, allocations: 236.1 kB / 492.1 MB, free: 3.582 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.5914, allocations: 12 kB / 492.1 MB, free: 3.57 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/0.5921, allocations: 23.97 kB / 492.1 MB, free: 3.547 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.5925, allocations: 88.64 kB / 492.2 MB, free: 3.461 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.482e-05/0.5925, allocations: 23.98 kB / 492.2 MB, free: 3.438 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0005975/0.5932, allocations: 319 kB / 492.5 MB, free: 3.125 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5932, allocations: 0 / 492.5 MB, free: 3.125 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001986/0.5952, allocations: 406.8 kB / 492.9 MB, free: 2.727 MB / 379.1 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,meanVoltage.y) * 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 (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.0002829/0.5955, allocations: 126.1 kB / 493 MB, free: 2.598 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.00424/0.5997, allocations: 1.647 MB / 494.7 MB, free: 0.9062 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.5998, allocations: 0 / 494.7 MB, free: 0.9062 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.6014, allocations: 0.6105 MB / 495.3 MB, free: 292 kB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.6025, allocations: 115.7 kB / 495.4 MB, free: 180 kB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.6067, allocations: 1.166 MB / 496.6 MB, free: 14.98 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008577/0.6076, allocations: 1.015 MB / 497.6 MB, free: 13.94 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.6079, allocations: 47.44 kB / 497.6 MB, free: 13.89 MB / 395.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6079, allocations: 0 / 497.6 MB, free: 13.89 MB / 395.1 MB Notification: Performance of Templates: time 0.03013/0.638, allocations: 13.84 MB / 0.4995 GB, free: 52 kB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_R/HBridge_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches