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_RL.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_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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 187.8 kB / 18.04 MB, free: 3.777 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.281/1.281, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0007701/0.0007701, allocations: 85.53 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003016, allocations: 16 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1995, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09052/0.2901, allocations: 86.09 MB / 463.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.2903, allocations: 87.94 kB / 463.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.036/0.3264, allocations: 15.49 MB / 478.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3264, allocations: 3.938 kB / 478.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.669e-05/0.3265, allocations: 31.92 kB / 478.8 MB, free: 10.7 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002201/0.3287, allocations: 1.153 MB / 479.9 MB, free: 9.484 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3287, allocations: 8.031 kB / 479.9 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.329, allocations: 111.6 kB / 480 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009699/0.33, allocations: 0.6651 MB / 480.7 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.33, allocations: 70.38 kB / 480.8 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3302, allocations: 88.38 kB / 480.8 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.3318, allocations: 0.9753 MB / 481.8 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.3318, allocations: 4.094 kB / 481.8 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.11e-05/0.3319, allocations: 43.88 kB / 481.9 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.3319, allocations: 24 kB / 481.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.3334, allocations: 0.7495 MB / 482.6 MB, free: 6.664 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004873/0.3383, allocations: 3.771 MB / 486.4 MB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.3396, allocations: 0.809 MB / 487.2 MB, free: 1.957 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008148/0.3405, allocations: 478.7 kB / 487.7 MB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.3405, allocations: 8.656 kB / 487.7 MB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007653/0.3413, allocations: 480.3 kB / 488.2 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.425e-06/0.3413, allocations: 0 / 488.2 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.003738/0.3451, allocations: 1.6 MB / 489.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.3451, allocations: 119.8 kB / 489.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008724/0.346, allocations: 0.68 MB / 490.6 MB, free: 14.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.3461, allocations: 45.64 kB / 490.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.3464, allocations: 368.7 kB / 491 MB, free: 14.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.3466, allocations: 248.5 kB / 491.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.3466, allocations: 16 kB / 491.2 MB, free: 13.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3468, allocations: 386.8 kB / 491.6 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005322/0.3473, allocations: 273.8 kB / 491.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.3479, allocations: 429.1 kB / 492.3 MB, free: 12.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.3489, allocations: 0.6518 MB / 492.9 MB, free: 12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.349, allocations: 0 / 492.9 MB, free: 12 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001663/0.3506, allocations: 0.9681 MB / 493.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.3508, allocations: 225.6 kB / 494.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.3508, allocations: 4 kB / 494.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008848/0.3517, allocations: 289.5 kB / 494.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.3522, allocations: 111.8 kB / 494.5 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005099/0.3573, allocations: 4.564 MB / 499.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.3579, allocations: 107.5 kB / 499.2 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.358, allocations: 24 kB / 499.2 MB, free: 5.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.358, allocations: 7.938 kB / 499.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001474/0.3595, allocations: 0.87 MB / 0.4884 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3595, allocations: 4 kB / 0.4884 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007118/0.3602, allocations: 281.7 kB / 0.4886 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.3606, allocations: 107.9 kB / 0.4887 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1497/0.5104, allocations: 4.575 MB / 0.4932 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/0.5111, allocations: 77.61 kB / 0.4933 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.5112, allocations: 30.91 kB / 0.4933 GB, free: 102 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 (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.0007176/0.5119, allocations: 349.2 kB / 0.4936 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.5121, allocations: 86.16 kB / 0.4937 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.5123, allocations: 98.25 kB / 0.4938 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/0.5124, allocations: 8.375 kB / 0.4938 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.5124, allocations: 1.469 kB / 0.4938 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.122e-05/0.5124, allocations: 9.406 kB / 0.4938 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.5155, allocations: 1.968 MB / 0.4958 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5155, allocations: 2.625 kB / 0.4958 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.5158, allocations: 76.86 kB / 0.4958 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006868/0.5165, allocations: 288.7 kB / 0.4961 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.5166, allocations: 20.22 kB / 0.4961 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00416/0.5207, allocations: 4.574 MB / 0.5006 GB, free: 98.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5208, allocations: 2.812 kB / 0.5006 GB, free: 98.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.5228, allocations: 1.364 MB / 0.5019 GB, free: 98.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003088/0.5231, allocations: 256.2 kB / 0.5022 GB, free: 98.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.021e-05/0.5232, allocations: 17.62 kB / 0.5022 GB, free: 98.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.5236, allocations: 41.28 kB / 0.5022 GB, free: 98.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.5238, allocations: 80.38 kB / 0.5023 GB, free: 98.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.5238, allocations: 27.61 kB / 0.5023 GB, free: 98.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006543/0.5245, allocations: 480.8 kB / 0.5028 GB, free: 98.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5245, allocations: 1.062 kB / 0.5028 GB, free: 98.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001424/0.526, allocations: 450 kB / 0.5032 GB, free: 98.41 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,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 (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.000178/0.5261, allocations: 135.1 kB / 0.5034 GB, free: 98.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002692/0.5288, allocations: 2.004 MB / 0.5053 GB, free: 97.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5289, allocations: 0 / 0.5053 GB, free: 97.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008866/0.5297, allocations: 0.7566 MB / 0.5061 GB, free: 96.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008011/0.5306, allocations: 168.4 kB / 0.5062 GB, free: 96.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.5332, allocations: 1.969 MB / 0.5081 GB, free: 95.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.5336, allocations: 1.005 MB / 0.5091 GB, free: 94.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003511/0.534, allocations: 84.31 kB / 0.5092 GB, free: 94.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5341, allocations: 55.19 kB / 0.5093 GB, free: 94.82 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5341, allocations: 0 / 0.5093 GB, free: 94.82 MB / 378.7 MB Notification: Performance of Templates: time 0.0211/0.5552, allocations: 16.05 MB / 0.5249 GB, free: 88.34 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_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_RL/HBridge_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches