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.0008591/0.0008591, allocations: 175.4 kB / 17.4 MB, free: 4.418 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.246/1.246, allocations: 223.3 MB / 241.4 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007737/0.0007736, allocations: 90.73 kB / 292.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004545, allocations: 11.94 kB / 352.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2826, allocations: 50.4 MB / 402.8 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.3847, allocations: 87.12 MB / 489.9 MB, free: 9.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.385, allocations: 89.06 kB / 490 MB, free: 9.074 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03736/0.4224, allocations: 15.74 MB / 0.4939 GB, free: 9.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4224, allocations: 0 / 0.4939 GB, free: 9.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.723e-05/0.4225, allocations: 20 kB / 0.4939 GB, free: 9.199 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002074/0.4246, allocations: 1.16 MB / 0.495 GB, free: 7.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.4246, allocations: 8.031 kB / 0.495 GB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.4249, allocations: 115.5 kB / 0.4951 GB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009641/0.4258, allocations: 0.6651 MB / 0.4958 GB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.4259, allocations: 66.38 kB / 0.4958 GB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.426, allocations: 92.28 kB / 0.4959 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.4277, allocations: 0.9754 MB / 0.4969 GB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.4277, allocations: 8.125 kB / 0.4969 GB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.094e-05/0.4278, allocations: 39.94 kB / 0.4969 GB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.4279, allocations: 23.94 kB / 0.497 GB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.4293, allocations: 0.7535 MB / 0.4977 GB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004813/0.4342, allocations: 3.783 MB / 0.5014 GB, free: 1.246 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.4355, allocations: 0.8023 MB / 0.5022 GB, free: 444 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1501/0.5856, allocations: 473.5 kB / 0.5026 GB, free: 93.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.5857, allocations: 11.47 kB / 0.5026 GB, free: 93.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.5868, allocations: 475.8 kB / 0.5031 GB, free: 93.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 2.535e-06/0.5868, allocations: 0 / 0.5031 GB, free: 93.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.003957/0.5908, allocations: 1.601 MB / 0.5046 GB, free: 93.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.5908, allocations: 116.2 kB / 0.5048 GB, free: 92.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009633/0.5918, allocations: 0.6785 MB / 0.5054 GB, free: 92.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.5919, allocations: 48.91 kB / 0.5055 GB, free: 92.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.5921, allocations: 366.1 kB / 0.5058 GB, free: 92.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.5923, allocations: 247.4 kB / 0.5061 GB, free: 92.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.5924, allocations: 15.88 kB / 0.5061 GB, free: 92.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5925, allocations: 391 kB / 0.5064 GB, free: 92.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.593, allocations: 278.3 kB / 0.5067 GB, free: 92.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.5936, allocations: 422.1 kB / 0.5071 GB, free: 92.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.5946, allocations: 0.6516 MB / 0.5077 GB, free: 91.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5946, allocations: 5.125 kB / 0.5078 GB, free: 91.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001376/0.596, allocations: 0.9661 MB / 0.5087 GB, free: 91.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/0.5961, allocations: 220.4 kB / 0.5089 GB, free: 91.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.5961, allocations: 3.906 kB / 0.5089 GB, free: 91.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006748/0.5968, allocations: 285.2 kB / 0.5092 GB, free: 91.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.5972, allocations: 109.8 kB / 0.5093 GB, free: 91.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003795/0.601, allocations: 4.593 MB / 0.5138 GB, free: 88.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.6015, allocations: 93.7 kB / 0.5139 GB, free: 88.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.6015, allocations: 27.97 kB / 0.5139 GB, free: 88.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.082e-06/0.6015, allocations: 6 kB / 0.5139 GB, free: 88.4 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001198/0.6027, allocations: 0.8591 MB / 0.5147 GB, free: 88.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6028, allocations: 3.531 kB / 0.5147 GB, free: 88.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005994/0.6034, allocations: 286.1 kB / 0.515 GB, free: 87.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.6037, allocations: 105.4 kB / 0.5151 GB, free: 87.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/0.6073, allocations: 4.59 MB / 0.5196 GB, free: 84.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.6078, allocations: 76.33 kB / 0.5197 GB, free: 84.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.6078, allocations: 33.53 kB / 0.5197 GB, free: 84.12 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 (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.0003783/0.6082, allocations: 344.5 kB / 0.52 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/0.6083, allocations: 89.66 kB / 0.5201 GB, free: 83.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.6085, allocations: 101.9 kB / 0.5202 GB, free: 83.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.6085, allocations: 6.25 kB / 0.5202 GB, free: 83.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.6085, allocations: 0.9375 kB / 0.5202 GB, free: 83.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.6085, allocations: 6.422 kB / 0.5202 GB, free: 83.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.6108, allocations: 1.981 MB / 0.5222 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.6108, allocations: 0 / 0.5222 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.6111, allocations: 68.94 kB / 0.5222 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006443/0.6117, allocations: 289.6 kB / 0.5225 GB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.6118, allocations: 18.67 kB / 0.5225 GB, free: 82.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/0.6155, allocations: 4.582 MB / 0.527 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6155, allocations: 7.531 kB / 0.527 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.6172, allocations: 1.351 MB / 0.5283 GB, free: 78.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.6175, allocations: 261.1 kB / 0.5286 GB, free: 77.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.754e-05/0.6176, allocations: 15.59 kB / 0.5286 GB, free: 77.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.618, allocations: 36.45 kB / 0.5286 GB, free: 77.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.6182, allocations: 95.23 kB / 0.5287 GB, free: 77.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.6183, allocations: 22.53 kB / 0.5287 GB, free: 77.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005569/0.6188, allocations: 473.9 kB / 0.5292 GB, free: 77.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6188, allocations: 0 / 0.5292 GB, free: 77.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001281/0.6201, allocations: 451.5 kB / 0.5296 GB, free: 77.52 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_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 (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.0001767/0.6203, allocations: 154 kB / 0.5298 GB, free: 77.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00238/0.6227, allocations: 1.985 MB / 0.5317 GB, free: 75.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6227, allocations: 4.875 kB / 0.5317 GB, free: 75.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008151/0.6235, allocations: 0.7596 MB / 0.5324 GB, free: 74.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.6243, allocations: 170.5 kB / 0.5326 GB, free: 74.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.6268, allocations: 1.974 MB / 0.5345 GB, free: 72.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.6271, allocations: 1 MB / 0.5355 GB, free: 72.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.6275, allocations: 94.48 kB / 0.5356 GB, free: 71.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.6276, allocations: 47.44 kB / 0.5356 GB, free: 71.94 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6276, allocations: 0 / 0.5356 GB, free: 71.94 MB / 378.7 MB Notification: Performance of Templates: time 0.02063/0.6482, allocations: 16.08 MB / 0.5513 GB, free: 58.97 MB / 378.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/jenkins1/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