Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001014/0.001014, allocations: 172.7 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0007953/0.0007952, allocations: 78.72 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.161e-05, allocations: 7.984 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07992/0.07996, allocations: 47.58 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2889/0.3689, allocations: 85.59 MB / 455.6 MB, free: 7.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.3692, allocations: 85.25 kB / 455.7 MB, free: 7.703 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03609/0.4053, allocations: 15.17 MB / 470.9 MB, free: 9.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4054, allocations: 4 kB / 470.9 MB, free: 9.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.726e-05/0.4054, allocations: 24 kB / 470.9 MB, free: 9.879 MB / 346.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.001761/0.4072, allocations: 1.051 MB / 472 MB, free: 8.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.4073, allocations: 8.031 kB / 472 MB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.4074, allocations: 114.7 kB / 472.1 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009168/0.4084, allocations: 0.637 MB / 472.7 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.4084, allocations: 73.92 kB / 472.8 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.4086, allocations: 84 kB / 472.9 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.41, allocations: 0.9086 MB / 473.8 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.4101, allocations: 0 / 473.8 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.819e-05/0.4101, allocations: 36 kB / 473.8 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.4102, allocations: 20 kB / 473.8 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.4113, allocations: 0.6794 MB / 474.5 MB, free: 6.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004485/0.4158, allocations: 3.717 MB / 478.2 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.417, allocations: 0.7714 MB / 479 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/0.4177, allocations: 444.5 kB / 479.4 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.4178, allocations: 8.781 kB / 479.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006939/0.4185, allocations: 449.3 kB / 479.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 2.464e-06/0.4185, allocations: 0 / 479.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of matching and sorting (n=81): time 0.001533/0.42, allocations: 0.8484 MB / 480.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.4201, allocations: 115.6 kB / 480.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.4208, allocations: 0.5894 MB / 481.4 MB, free: 15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.4209, allocations: 41.7 kB / 481.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.4212, allocations: 360.5 kB / 481.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.4213, allocations: 236.7 kB / 482.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.4214, allocations: 16 kB / 482.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4216, allocations: 390.7 kB / 482.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.422, allocations: 237.6 kB / 482.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.4224, allocations: 391 kB / 483.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.4229, allocations: 283.8 kB / 483.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4229, allocations: 4 kB / 483.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001377/0.4243, allocations: 0.9098 MB / 484.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004799/0.4248, allocations: 1.346 MB / 485.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4248, allocations: 0 / 485.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008416/0.4256, allocations: 316.6 kB / 485.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.426, allocations: 95.81 kB / 486 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004631/0.4307, allocations: 3.621 MB / 489.6 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.4312, allocations: 95.3 kB / 489.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/0.4313, allocations: 28 kB / 489.8 MB, free: 6.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.527e-06/0.4313, allocations: 4 kB / 489.8 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001274/0.4326, allocations: 0.8251 MB / 490.6 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4326, allocations: 7.984 kB / 490.6 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007145/0.4333, allocations: 321.8 kB / 490.9 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.4337, allocations: 87.84 kB / 491 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004465/0.4382, allocations: 3.616 MB / 494.6 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.4387, allocations: 87.25 kB / 494.7 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.4388, allocations: 24 kB / 494.7 MB, free: 1.227 MB / 362.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 () * 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.0002102/0.439, allocations: 164.6 kB / 494.9 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.4391, allocations: 87.05 kB / 495 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.4394, allocations: 92.39 kB / 495.1 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4394, allocations: 8 kB / 495.1 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4394, allocations: 3.953 kB / 495.1 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.4394, allocations: 3.984 kB / 495.1 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.4423, allocations: 1.923 MB / 497 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4423, allocations: 0 / 497 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.4426, allocations: 63.89 kB / 497.1 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000742/0.4433, allocations: 308.7 kB / 497.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.4434, allocations: 19.95 kB / 497.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004359/0.4478, allocations: 3.62 MB / 0.4893 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4478, allocations: 3.938 kB / 0.4893 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.4497, allocations: 1.303 MB / 0.4905 GB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.45, allocations: 255.9 kB / 0.4908 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.014e-05/0.4501, allocations: 12 kB / 0.4908 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.4506, allocations: 44.03 kB / 0.4908 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.4507, allocations: 84.64 kB / 0.4909 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.4508, allocations: 23.98 kB / 0.4909 GB, free: 8.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005658/0.4514, allocations: 459.2 kB / 0.4914 GB, free: 8.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4514, allocations: 0 / 0.4914 GB, free: 8.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001216/0.4526, allocations: 451.1 kB / 0.4918 GB, free: 8.09 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) * 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.0002141/0.4528, allocations: 146.1 kB / 0.4919 GB, free: 7.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002621/0.4555, allocations: 1.766 MB / 0.4937 GB, free: 6.117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4555, allocations: 0 / 0.4937 GB, free: 6.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008978/0.4564, allocations: 0.6557 MB / 0.4943 GB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.457, allocations: 159.2 kB / 0.4945 GB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.4594, allocations: 1.202 MB / 0.4956 GB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.4599, allocations: 1.02 MB / 0.4966 GB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000427/0.4604, allocations: 106.6 kB / 0.4967 GB, free: 2.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.4605, allocations: 43.44 kB / 0.4968 GB, free: 2.863 MB / 378.7 MB Notification: Performance of SimCode: time 4.5e-07/0.4605, allocations: 0 / 0.4968 GB, free: 2.863 MB / 378.7 MB Notification: Performance of Templates: time 0.0246/0.4851, allocations: 17.26 MB / 0.5136 GB, free: 1.574 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat","/var/lib/jenkins/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_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches