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.001083/0.001083, allocations: 176.5 kB / 8.345 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.5 MB / 230.3 MB, free: 7.535 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.0009528/0.0009527, allocations: 102.3 kB / 281.2 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.269e-05/1.27e-05, allocations: 4 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3567/0.4618, allocations: 86.3 MB / 473.8 MB, free: 8.543 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.462, allocations: 87.95 kB / 473.9 MB, free: 8.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03705/0.4991, allocations: 15.57 MB / 489.4 MB, free: 8.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4991, allocations: 0 / 489.4 MB, free: 8.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.177e-05/0.4992, allocations: 24 kB / 489.5 MB, free: 8.77 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.002144/0.5014, allocations: 1.078 MB / 490.5 MB, free: 7.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.852e-05/0.5014, allocations: 8.031 kB / 490.5 MB, free: 7.625 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.5017, allocations: 114.6 kB / 490.7 MB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.5028, allocations: 0.6409 MB / 491.3 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.5029, allocations: 31.95 kB / 491.3 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.503, allocations: 56 kB / 491.4 MB, free: 6.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001306/0.5043, allocations: 0.6288 MB / 492 MB, free: 6.109 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.5057, allocations: 0.807 MB / 492.8 MB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.5057, allocations: 3.984 kB / 492.8 MB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.466e-05/0.5058, allocations: 4 kB / 492.8 MB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.5058, allocations: 24 kB / 492.9 MB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004406/0.5102, allocations: 3.589 MB / 496.4 MB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.5114, allocations: 0.7409 MB / 497.2 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006709/0.512, allocations: 440.4 kB / 497.6 MB, free: 352 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.877e-05/0.5121, allocations: 8.781 kB / 497.6 MB, free: 344 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006817/0.5128, allocations: 419.8 kB / 498 MB, free: 15.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 2.965e-06/0.5128, allocations: 0 / 498 MB, free: 15.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.001228/0.5141, allocations: 0.7277 MB / 498.8 MB, free: 15.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.5141, allocations: 119.6 kB / 498.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.5146, allocations: 437.9 kB / 499.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.5147, allocations: 33.7 kB / 499.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.5149, allocations: 368.4 kB / 499.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.5151, allocations: 240.5 kB / 499.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.5152, allocations: 0 / 499.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5153, allocations: 386.7 kB / 0.4886 GB, free: 13.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.5157, allocations: 230.1 kB / 0.4888 GB, free: 13.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.5161, allocations: 376.7 kB / 0.4892 GB, free: 12.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.5165, allocations: 244.5 kB / 0.4894 GB, free: 12.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5165, allocations: 0 / 0.4894 GB, free: 12.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001198/0.5177, allocations: 0.8021 MB / 0.4902 GB, free: 11.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004617/0.5182, allocations: 1.336 MB / 0.4915 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5182, allocations: 4 kB / 0.4915 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007493/0.519, allocations: 281.5 kB / 0.4918 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.5194, allocations: 111.8 kB / 0.4919 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004533/0.524, allocations: 4.427 MB / 0.4962 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.5246, allocations: 67.41 kB / 0.4963 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.5246, allocations: 24.19 kB / 0.4963 GB, free: 5.281 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.5247, allocations: 7.938 kB / 0.4963 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001148/0.5258, allocations: 0.711 MB / 0.497 GB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5258, allocations: 4 kB / 0.497 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.5265, allocations: 286 kB / 0.4973 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.5269, allocations: 103.8 kB / 0.4974 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/0.5313, allocations: 4.415 MB / 0.5017 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.5319, allocations: 63.59 kB / 0.5017 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.5319, allocations: 27.95 kB / 0.5017 GB, free: 15.43 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.0002342/0.5322, allocations: 139.7 kB / 0.5019 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.5323, allocations: 67.16 kB / 0.5019 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.5325, allocations: 87.3 kB / 0.502 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.5325, allocations: 8 kB / 0.502 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5325, allocations: 0 / 0.502 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.5326, allocations: 7.984 kB / 0.502 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.5349, allocations: 1.74 MB / 0.5037 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.535, allocations: 0 / 0.5037 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.5354, allocations: 71.91 kB / 0.5038 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006627/0.536, allocations: 281.6 kB / 0.5041 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.5361, allocations: 4 kB / 0.5041 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004381/0.5405, allocations: 4.416 MB / 0.5084 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5405, allocations: 3.938 kB / 0.5084 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.5423, allocations: 1.218 MB / 0.5096 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.5427, allocations: 232.1 kB / 0.5098 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.5428, allocations: 12 kB / 0.5098 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.5432, allocations: 27.97 kB / 0.5099 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.5434, allocations: 84.59 kB / 0.5099 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.5434, allocations: 20 kB / 0.51 GB, free: 6.695 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003918/0.5438, allocations: 319 kB / 0.5103 GB, free: 6.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5438, allocations: 0 / 0.5103 GB, free: 6.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001478/0.5453, allocations: 422.8 kB / 0.5107 GB, free: 5.969 MB / 394.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.0002401/0.5456, allocations: 134.1 kB / 0.5108 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002728/0.5483, allocations: 1.817 MB / 0.5126 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5483, allocations: 0 / 0.5126 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009207/0.5492, allocations: 0.7021 MB / 0.5132 GB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/0.5499, allocations: 124.8 kB / 0.5134 GB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.5527, allocations: 1.182 MB / 0.5145 GB, free: 1.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/0.5534, allocations: 1.02 MB / 0.5155 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004023/0.5539, allocations: 89.64 kB / 0.5156 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.554, allocations: 39.42 kB / 0.5156 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.554, allocations: 0 / 0.5156 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of Templates: time 0.02392/0.5779, allocations: 14.38 MB / 0.5297 GB, free: 2.473 MB / 410.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