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.001515/0.001515, allocations: 180.5 kB / 16.38 MB, free: 5.766 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.257/1.257, allocations: 223.2 MB / 240.3 MB, free: 11.85 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.0008018/0.0008018, allocations: 104.2 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002332, allocations: 7.938 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1868, allocations: 50.4 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09114/0.278, allocations: 87.05 MB / 488.6 MB, free: 9.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.2782, allocations: 96.84 kB / 488.6 MB, free: 9.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03681/0.3151, allocations: 15.73 MB / 0.4926 GB, free: 9.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3151, allocations: 0 / 0.4926 GB, free: 9.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.362e-05/0.3152, allocations: 20 kB / 0.4926 GB, free: 9.465 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.00189/0.3171, allocations: 1.164 MB / 0.4937 GB, free: 8.234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3171, allocations: 15.95 kB / 0.4937 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.3173, allocations: 126.5 kB / 0.4939 GB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.3185, allocations: 0.6409 MB / 0.4945 GB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.3186, allocations: 69.95 kB / 0.4945 GB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.3187, allocations: 88 kB / 0.4946 GB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.3205, allocations: 0.9709 MB / 0.4956 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.3205, allocations: 0 / 0.4956 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.593e-05/0.3206, allocations: 36 kB / 0.4956 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.3207, allocations: 24 kB / 0.4956 GB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.3223, allocations: 0.7457 MB / 0.4964 GB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004791/0.3271, allocations: 3.783 MB / 0.5001 GB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.3285, allocations: 0.8062 MB / 0.5008 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.3285, allocations: 8.656 kB / 0.5009 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000763/0.3293, allocations: 468.4 kB / 0.5013 GB, free: 244 kB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 2.364e-06/0.3293, allocations: 0 / 0.5013 GB, free: 244 kB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.1528/0.4821, allocations: 1.561 MB / 0.5028 GB, free: 93.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.4822, allocations: 122.8 kB / 0.5029 GB, free: 93.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007935/0.483, allocations: 0.6068 MB / 0.5035 GB, free: 93.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.4831, allocations: 43.39 kB / 0.5036 GB, free: 93.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.4833, allocations: 371.3 kB / 0.5039 GB, free: 93.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.4835, allocations: 250.1 kB / 0.5042 GB, free: 92.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.4835, allocations: 13.06 kB / 0.5042 GB, free: 92.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4837, allocations: 389 kB / 0.5045 GB, free: 92.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.4841, allocations: 271.1 kB / 0.5048 GB, free: 92.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.4847, allocations: 424.6 kB / 0.5052 GB, free: 92.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.4853, allocations: 310.6 kB / 0.5055 GB, free: 92.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.4854, allocations: 2.781 kB / 0.5055 GB, free: 92.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001673/0.487, allocations: 0.9641 MB / 0.5065 GB, free: 92.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002609/0.4873, allocations: 1.342 MB / 0.5078 GB, free: 90.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.4873, allocations: 3.156 kB / 0.5078 GB, free: 90.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007669/0.4881, allocations: 289.6 kB / 0.508 GB, free: 90.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.4885, allocations: 109.2 kB / 0.5081 GB, free: 90.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/0.4927, allocations: 4.666 MB / 0.5127 GB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.4932, allocations: 98.42 kB / 0.5128 GB, free: 88.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.4933, allocations: 27.64 kB / 0.5128 GB, free: 88.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.4933, allocations: 2.812 kB / 0.5128 GB, free: 88.03 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00118/0.4945, allocations: 0.8528 MB / 0.5137 GB, free: 87.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4945, allocations: 3.938 kB / 0.5137 GB, free: 87.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.4951, allocations: 295.9 kB / 0.5139 GB, free: 87.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.4955, allocations: 101 kB / 0.514 GB, free: 87.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003929/0.4994, allocations: 4.662 MB / 0.5186 GB, free: 83.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.4998, allocations: 80.81 kB / 0.5187 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.4999, allocations: 31.56 kB / 0.5187 GB, free: 83.73 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.0003501/0.5002, allocations: 349.9 kB / 0.519 GB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.5003, allocations: 85.34 kB / 0.5191 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.5005, allocations: 97.28 kB / 0.5192 GB, free: 83.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5005, allocations: 7.875 kB / 0.5192 GB, free: 83.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.5005, allocations: 0 / 0.5192 GB, free: 83.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.5006, allocations: 7.469 kB / 0.5192 GB, free: 83.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.5029, allocations: 1.958 MB / 0.5211 GB, free: 82.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5029, allocations: 0 / 0.5211 GB, free: 82.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.5033, allocations: 76.17 kB / 0.5212 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006142/0.5039, allocations: 285.8 kB / 0.5215 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.5039, allocations: 22.33 kB / 0.5215 GB, free: 82.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003776/0.5077, allocations: 4.661 MB / 0.5261 GB, free: 78.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5077, allocations: 3.594 kB / 0.5261 GB, free: 78.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.5094, allocations: 1.344 MB / 0.5274 GB, free: 77.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.5097, allocations: 256.4 kB / 0.5276 GB, free: 77.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-05/0.5098, allocations: 14.75 kB / 0.5276 GB, free: 77.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.5102, allocations: 41.95 kB / 0.5277 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.5104, allocations: 89.8 kB / 0.5278 GB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.5104, allocations: 20.59 kB / 0.5278 GB, free: 77.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004699/0.5109, allocations: 480.9 kB / 0.5282 GB, free: 77.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5109, allocations: 0 / 0.5282 GB, free: 77.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001151/0.5121, allocations: 452.6 kB / 0.5287 GB, free: 77.09 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.0001568/0.5123, allocations: 152.2 kB / 0.5288 GB, free: 76.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.5146, allocations: 1.976 MB / 0.5307 GB, free: 75.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5146, allocations: 4.188 kB / 0.5307 GB, free: 75.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.5155, allocations: 0.7551 MB / 0.5315 GB, free: 75.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.5161, allocations: 157.1 kB / 0.5316 GB, free: 74.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.5187, allocations: 1.956 MB / 0.5335 GB, free: 73.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.5191, allocations: 1.023 MB / 0.5345 GB, free: 72.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.5194, allocations: 89.45 kB / 0.5346 GB, free: 72.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.5195, allocations: 51.44 kB / 0.5347 GB, free: 72.06 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5195, allocations: 0 / 0.5347 GB, free: 72.06 MB / 378.7 MB Notification: Performance of Templates: time 0.01934/0.5389, allocations: 15.9 MB / 0.5502 GB, free: 59.39 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/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