Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.3 MB / 235.5 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008651/0.0008651, allocations: 96.66 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.748e-05/2.751e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 50.42 MB / 394.3 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3412/0.4429, allocations: 86.97 MB / 481.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.4432, allocations: 95.75 kB / 481.3 MB, free: 484 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03717/0.4804, allocations: 15.73 MB / 497.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4804, allocations: 0 / 497.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.058e-05/0.4805, allocations: 20 kB / 497.1 MB, free: 0.6211 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001867/0.4824, allocations: 1.078 MB / 498.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.4824, allocations: 8.031 kB / 498.2 MB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.4826, allocations: 118.6 kB / 498.3 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.4836, allocations: 0.6409 MB / 498.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.386e-05/0.4837, allocations: 73.98 kB / 499 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.4839, allocations: 91.95 kB / 499.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.4854, allocations: 0.9362 MB / 0.4883 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.4854, allocations: 7.938 kB / 0.4883 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/0.4855, allocations: 36 kB / 0.4883 GB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.4856, allocations: 20 kB / 0.4884 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.4868, allocations: 0.6873 MB / 0.489 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004661/0.4914, allocations: 3.783 MB / 0.4927 GB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.4926, allocations: 0.7753 MB / 0.4935 GB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007324/0.4934, allocations: 463.1 kB / 0.4939 GB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/0.4935, allocations: 12.78 kB / 0.4939 GB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007124/0.4942, allocations: 453.4 kB / 0.4944 GB, free: 7.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 2.735e-06/0.4942, allocations: 0 / 0.4944 GB, free: 7.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.001353/0.4955, allocations: 0.7939 MB / 0.4951 GB, free: 6.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.4956, allocations: 123.5 kB / 0.4953 GB, free: 6.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007239/0.4964, allocations: 0.5933 MB / 0.4958 GB, free: 5.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.4964, allocations: 49.64 kB / 0.4959 GB, free: 5.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.4967, allocations: 360.8 kB / 0.4962 GB, free: 5.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.4969, allocations: 244.5 kB / 0.4965 GB, free: 4.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.4969, allocations: 16 kB / 0.4965 GB, free: 4.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4971, allocations: 390.7 kB / 0.4968 GB, free: 4.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.4975, allocations: 241.8 kB / 0.4971 GB, free: 4.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.498, allocations: 394 kB / 0.4975 GB, free: 3.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.4985, allocations: 291.8 kB / 0.4977 GB, free: 3.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.4985, allocations: 7.984 kB / 0.4977 GB, free: 3.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001405/0.4999, allocations: 0.9129 MB / 0.4986 GB, free: 2.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004827/0.5004, allocations: 1.34 MB / 0.4999 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5005, allocations: 4 kB / 0.4999 GB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007949/0.5013, allocations: 286.9 kB / 0.5002 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.5017, allocations: 107.8 kB / 0.5003 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004822/0.5065, allocations: 4.574 MB / 0.5048 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.5071, allocations: 91.39 kB / 0.5049 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.5072, allocations: 28 kB / 0.5049 GB, free: 11.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.5072, allocations: 4 kB / 0.5049 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001316/0.5085, allocations: 0.8337 MB / 0.5057 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.5086, allocations: 4 kB / 0.5057 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006895/0.5093, allocations: 285.9 kB / 0.506 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.5096, allocations: 103.8 kB / 0.5061 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004535/0.5142, allocations: 4.562 MB / 0.5105 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.5148, allocations: 87.47 kB / 0.5106 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.5148, allocations: 28 kB / 0.5107 GB, free: 5.664 MB / 394.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 () * 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.0002217/0.515, allocations: 160.8 kB / 0.5108 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.5152, allocations: 87.11 kB / 0.5109 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.5154, allocations: 108.4 kB / 0.511 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.5154, allocations: 8 kB / 0.511 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.5155, allocations: 0 / 0.511 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.5155, allocations: 3.984 kB / 0.511 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.5181, allocations: 1.938 MB / 0.5129 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5181, allocations: 0 / 0.5129 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.5185, allocations: 75.89 kB / 0.513 GB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000683/0.5192, allocations: 281.5 kB / 0.5132 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/0.5192, allocations: 19.98 kB / 0.5133 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004756/0.524, allocations: 4.553 MB / 0.5177 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.524, allocations: 4 kB / 0.5177 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.5259, allocations: 1.312 MB / 0.519 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.5263, allocations: 259.8 kB / 0.5192 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.5264, allocations: 20 kB / 0.5193 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/0.5269, allocations: 35.97 kB / 0.5193 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.5271, allocations: 88.59 kB / 0.5194 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.5271, allocations: 27.98 kB / 0.5194 GB, free: 12.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005812/0.5277, allocations: 455.2 kB / 0.5198 GB, free: 11.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5277, allocations: 0 / 0.5198 GB, free: 11.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001332/0.5291, allocations: 455.1 kB / 0.5203 GB, free: 11.43 MB / 410.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_last,meanVoltage.y_last) * 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 (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.0002087/0.5293, allocations: 146.5 kB / 0.5204 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.532, allocations: 1.936 MB / 0.5223 GB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.532, allocations: 0 / 0.5223 GB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009876/0.533, allocations: 0.7404 MB / 0.523 GB, free: 8.496 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.5337, allocations: 151 kB / 0.5232 GB, free: 8.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.5361, allocations: 1.258 MB / 0.5244 GB, free: 7.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.5368, allocations: 1.02 MB / 0.5254 GB, free: 6.023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004698/0.5373, allocations: 122.6 kB / 0.5255 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.5374, allocations: 43.44 kB / 0.5256 GB, free: 5.855 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5374, allocations: 0 / 0.5256 GB, free: 5.855 MB / 410.7 MB Notification: Performance of Templates: time 0.02423/0.5616, allocations: 16.78 MB / 0.5419 GB, free: 5.215 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/HBridge/HBridge_RL/HBridge_RL.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches