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.001884/0.001884, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.747/2.747, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 81.38 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004673, allocations: 12 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.486, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.6752, allocations: 85.78 MB / 461.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005128/0.6758, allocations: 87.94 kB / 461.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06513/0.7409, allocations: 15.18 MB / 476.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.028e-06/0.741, allocations: 0 / 476.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001123/0.7411, allocations: 28.16 kB / 476.8 MB, free: 11.43 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.004263/0.7454, allocations: 1.133 MB / 477.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.674e-05/0.7455, allocations: 12.03 kB / 478 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.7461, allocations: 119.5 kB / 478.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.7481, allocations: 0.6496 MB / 478.7 MB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.7483, allocations: 74.36 kB / 478.8 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.7485, allocations: 84.31 kB / 478.9 MB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.7517, allocations: 0.9481 MB / 479.8 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/0.7518, allocations: 4.094 kB / 479.8 MB, free: 8.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.7519, allocations: 43.92 kB / 479.9 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.752, allocations: 20 kB / 479.9 MB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.7545, allocations: 0.7378 MB / 480.6 MB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.7646, allocations: 3.716 MB / 484.3 MB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.7678, allocations: 0.7983 MB / 485.1 MB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.7692, allocations: 451.2 kB / 485.6 MB, free: 2.375 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.407e-05/0.7693, allocations: 8.656 kB / 485.6 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.7706, allocations: 467.2 kB / 486.1 MB, free: 1.895 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 5.24e-06/0.7707, allocations: 0 / 486.1 MB, free: 1.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.006683/0.7774, allocations: 1.881 MB / 487.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.7775, allocations: 119.5 kB / 488 MB, free: 15.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.7789, allocations: 0.6799 MB / 488.7 MB, free: 15.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.7791, allocations: 41.7 kB / 488.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005177/0.7796, allocations: 360.7 kB / 489.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/0.78, allocations: 236.5 kB / 489.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.7801, allocations: 16 kB / 489.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003251/0.7805, allocations: 394.7 kB / 489.8 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009186/0.7814, allocations: 265.9 kB / 490 MB, free: 13.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.7825, allocations: 425 kB / 490.4 MB, free: 13.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.7845, allocations: 0.6323 MB / 491.1 MB, free: 12.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.7845, allocations: 4 kB / 491.1 MB, free: 12.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003429/0.7879, allocations: 0.9652 MB / 492 MB, free: 11.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000299/0.7883, allocations: 229 kB / 492.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.7883, allocations: 0 / 492.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.79, allocations: 324.6 kB / 492.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/0.7908, allocations: 91.83 kB / 492.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.801, allocations: 3.644 MB / 496.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.8025, allocations: 95.33 kB / 496.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.8027, allocations: 28 kB / 496.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.8027, allocations: 4 kB / 496.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002966/0.8057, allocations: 0.8537 MB / 497.3 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.8058, allocations: 8 kB / 497.3 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.8074, allocations: 317.4 kB / 497.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.8081, allocations: 87.84 kB / 497.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009264/0.8174, allocations: 3.64 MB / 0.4896 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.8187, allocations: 83.41 kB / 0.4897 GB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.8189, allocations: 28 kB / 0.4897 GB, free: 1.957 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,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 () * Number of clocked 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.001242/0.8202, allocations: 344.7 kB / 0.49 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/0.8205, allocations: 86.91 kB / 0.4901 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.821, allocations: 100.4 kB / 0.4902 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.821, allocations: 15.94 kB / 0.4902 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.821, allocations: 0 / 0.4902 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.8211, allocations: 3.984 kB / 0.4902 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4454/1.266, allocations: 1.938 MB / 0.4921 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/1.267, allocations: 0 / 0.4921 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/1.267, allocations: 66.97 kB / 0.4922 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/1.269, allocations: 307.8 kB / 0.4925 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/1.269, allocations: 18.28 kB / 0.4925 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/1.28, allocations: 3.634 MB / 0.496 GB, free: 102.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.28, allocations: 4.969 kB / 0.496 GB, free: 102.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004643/1.284, allocations: 1.338 MB / 0.4973 GB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008296/1.285, allocations: 253.9 kB / 0.4976 GB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003616/1.286, allocations: 15.88 kB / 0.4976 GB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009976/1.287, allocations: 43.98 kB / 0.4976 GB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004363/1.287, allocations: 83.55 kB / 0.4977 GB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/1.287, allocations: 18.75 kB / 0.4977 GB, free: 102.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001725/1.289, allocations: 480.6 kB / 0.4982 GB, free: 102.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.289, allocations: 1.031 kB / 0.4982 GB, free: 102.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003979/1.293, allocations: 441.2 kB / 0.4986 GB, free: 102.3 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.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) * Number of clocked states: 0 () * 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.0005471/1.294, allocations: 154.7 kB / 0.4988 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006649/1.3, allocations: 1.826 MB / 0.5005 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/1.3, allocations: 0 / 0.5005 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002371/1.303, allocations: 0.6794 MB / 0.5012 GB, free: 101.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/1.305, allocations: 162.1 kB / 0.5014 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006203/1.311, allocations: 1.913 MB / 0.5032 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009594/1.312, allocations: 0.993 MB / 0.5042 GB, free: 99.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/1.313, allocations: 50.97 kB / 0.5042 GB, free: 99.56 MB / 378.7 MB Notification: Performance of SimCode: time 1.273e-06/1.313, allocations: 0 / 0.5042 GB, free: 99.56 MB / 378.7 MB Notification: Performance of Templates: time 0.03731/1.35, allocations: 15.31 MB / 0.5192 GB, free: 94.65 MB / 378.7 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