Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.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_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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 196.2 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 226.5 MB / 245.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007519/0.0007519, allocations: 102.5 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.237, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1005/0.3375, allocations: 88.51 MB / 497.9 MB, free: 2.996 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.3378, allocations: 92.48 kB / 498 MB, free: 2.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03768/0.3755, allocations: 15.68 MB / 0.5016 GB, free: 3.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3756, allocations: 0 / 0.5016 GB, free: 3.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.481e-05/0.3757, allocations: 27.98 kB / 0.5017 GB, free: 3.086 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002461/0.3781, allocations: 1.14 MB / 0.5028 GB, free: 1.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3782, allocations: 12.03 kB / 0.5028 GB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.3785, allocations: 115.6 kB / 0.5029 GB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3796, allocations: 0.6573 MB / 0.5035 GB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.3797, allocations: 78.23 kB / 0.5036 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.3798, allocations: 88.38 kB / 0.5037 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1611/0.5409, allocations: 0.952 MB / 0.5046 GB, free: 88.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.541, allocations: 5.062 kB / 0.5046 GB, free: 88.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.5411, allocations: 36.62 kB / 0.5047 GB, free: 88.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.5412, allocations: 22.38 kB / 0.5047 GB, free: 88.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.5429, allocations: 0.7378 MB / 0.5054 GB, free: 88.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004723/0.5476, allocations: 3.737 MB / 0.5091 GB, free: 87.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.5488, allocations: 0.799 MB / 0.5098 GB, free: 87.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007298/0.5496, allocations: 455.3 kB / 0.5103 GB, free: 87.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/0.5496, allocations: 8.281 kB / 0.5103 GB, free: 87.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007869/0.5504, allocations: 459.7 kB / 0.5107 GB, free: 87.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 2.575e-06/0.5504, allocations: 2.344 kB / 0.5107 GB, free: 87.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.00471/0.5552, allocations: 1.88 MB / 0.5126 GB, free: 87.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.5552, allocations: 119.2 kB / 0.5127 GB, free: 86.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006783/0.5559, allocations: 0.681 MB / 0.5133 GB, free: 86.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.556, allocations: 45.02 kB / 0.5134 GB, free: 86.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.5561, allocations: 362.4 kB / 0.5137 GB, free: 86.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.5563, allocations: 235.3 kB / 0.5139 GB, free: 86.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.5563, allocations: 15.94 kB / 0.514 GB, free: 86.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.5564, allocations: 392 kB / 0.5143 GB, free: 85.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.5568, allocations: 264.9 kB / 0.5146 GB, free: 85.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.5573, allocations: 420.7 kB / 0.515 GB, free: 85.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007852/0.5581, allocations: 0.6387 MB / 0.5156 GB, free: 85.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.5581, allocations: 7.906 kB / 0.5156 GB, free: 85.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001322/0.5594, allocations: 0.9626 MB / 0.5166 GB, free: 84.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-05/0.5595, allocations: 227.5 kB / 0.5168 GB, free: 84.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5595, allocations: 3.875 kB / 0.5168 GB, free: 84.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007226/0.5603, allocations: 315.7 kB / 0.5171 GB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.5606, allocations: 98.69 kB / 0.5172 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/0.5643, allocations: 3.651 MB / 0.5207 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.5648, allocations: 87.66 kB / 0.5208 GB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.5649, allocations: 33.98 kB / 0.5209 GB, free: 81.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/0.5649, allocations: 3.875 kB / 0.5209 GB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001173/0.5661, allocations: 0.8551 MB / 0.5217 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5661, allocations: 3.75 kB / 0.5217 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006407/0.5667, allocations: 322.2 kB / 0.522 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.567, allocations: 88.06 kB / 0.5221 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.5707, allocations: 3.642 MB / 0.5256 GB, free: 78.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.5711, allocations: 87.45 kB / 0.5257 GB, free: 78.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.5712, allocations: 28.97 kB / 0.5258 GB, free: 78.53 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 (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.0005332/0.5717, allocations: 339.5 kB / 0.5261 GB, free: 78.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.5718, allocations: 86.86 kB / 0.5262 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.572, allocations: 98.17 kB / 0.5263 GB, free: 78.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.572, allocations: 11.22 kB / 0.5263 GB, free: 78.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.572, allocations: 0 / 0.5263 GB, free: 78.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.572, allocations: 3.797 kB / 0.5263 GB, free: 78.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/0.5745, allocations: 1.95 MB / 0.5282 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5745, allocations: 0 / 0.5282 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.5748, allocations: 62.39 kB / 0.5282 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006944/0.5755, allocations: 319.6 kB / 0.5285 GB, free: 76.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.5755, allocations: 14.78 kB / 0.5286 GB, free: 76.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.5792, allocations: 3.654 MB / 0.5321 GB, free: 74.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5792, allocations: 0 / 0.5321 GB, free: 74.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.581, allocations: 1.342 MB / 0.5334 GB, free: 72.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.5813, allocations: 255.2 kB / 0.5337 GB, free: 72.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.5814, allocations: 16 kB / 0.5337 GB, free: 72.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.5818, allocations: 46.73 kB / 0.5337 GB, free: 72.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.582, allocations: 78.94 kB / 0.5338 GB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.582, allocations: 20.06 kB / 0.5338 GB, free: 72.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005122/0.5825, allocations: 486.3 kB / 0.5343 GB, free: 72.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5825, allocations: 0 / 0.5343 GB, free: 72.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001094/0.5836, allocations: 452.2 kB / 0.5347 GB, free: 71.78 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_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 (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.0001714/0.5838, allocations: 139.6 kB / 0.5349 GB, free: 71.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002359/0.5862, allocations: 1.821 MB / 0.5366 GB, free: 69.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5862, allocations: 0 / 0.5366 GB, free: 69.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008212/0.587, allocations: 0.6902 MB / 0.5373 GB, free: 69.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.5878, allocations: 174.1 kB / 0.5375 GB, free: 69.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.5902, allocations: 1.874 MB / 0.5393 GB, free: 67.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.5907, allocations: 0.9986 MB / 0.5403 GB, free: 66.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003102/0.591, allocations: 83.3 kB / 0.5404 GB, free: 66.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.5911, allocations: 47.44 kB / 0.5404 GB, free: 66.39 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5911, allocations: 0 / 0.5404 GB, free: 66.39 MB / 378.7 MB Notification: Performance of Templates: time 0.02018/0.6113, allocations: 16.63 MB / 0.5566 GB, free: 51.86 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_R/HBridge_R.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches