Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0017/0.001699, allocations: 182.1 kB / 8.153 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001273/0.001273, allocations: 99.53 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.358e-06/9.528e-06, allocations: 0 / 314.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2379, allocations: 47.56 MB / 361.9 MB, free: 45.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.3697, allocations: 84.86 MB / 446.7 MB, free: 1.184 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/0.3701, allocations: 87.94 kB / 446.8 MB, free: 1.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06149/0.4316, allocations: 14.8 MB / 461.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.52e-05/0.4317, allocations: 24 kB / 461.6 MB, free: 2.27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003179/0.4349, allocations: 1.077 MB / 462.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.435, allocations: 8.031 kB / 462.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/0.4354, allocations: 114.7 kB / 462.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.4371, allocations: 0.6408 MB / 463.5 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/0.4372, allocations: 24 kB / 463.5 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.4374, allocations: 52 kB / 463.5 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002251/0.4397, allocations: 0.6218 MB / 464.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.442, allocations: 0.7915 MB / 465 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/0.4421, allocations: 4 kB / 465 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.4422, allocations: 0 / 465 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.4423, allocations: 31.94 kB / 465 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008386/0.4507, allocations: 3.516 MB / 468.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.4526, allocations: 0.6401 MB / 469.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.4538, allocations: 413.3 kB / 469.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.837e-05/0.4539, allocations: 8.656 kB / 469.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.455, allocations: 399.8 kB / 469.9 MB, free: 9.672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 7.054e-06/0.455, allocations: 3.984 kB / 469.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.00265/0.4576, allocations: 0.7507 MB / 470.7 MB, free: 8.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/0.4578, allocations: 115.5 kB / 470.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009845/0.4588, allocations: 437.9 kB / 471.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.4589, allocations: 33.7 kB / 471.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.4592, allocations: 338.8 kB / 471.6 MB, free: 7.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.4595, allocations: 220.6 kB / 471.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.4596, allocations: 0 / 471.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4598, allocations: 338.8 kB / 472.2 MB, free: 7.402 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007238/0.4605, allocations: 233.5 kB / 472.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008494/0.4613, allocations: 365.4 kB / 472.7 MB, free: 6.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/0.4622, allocations: 243 kB / 473 MB, free: 6.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.4622, allocations: 0 / 473 MB, free: 6.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002263/0.4645, allocations: 0.7563 MB / 473.7 MB, free: 5.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005474/0.465, allocations: 1.307 MB / 475 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.4651, allocations: 4 kB / 475 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.4665, allocations: 304.7 kB / 475.3 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/0.4674, allocations: 95.81 kB / 475.4 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007864/0.4753, allocations: 3.171 MB / 478.6 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.4761, allocations: 55.58 kB / 478.7 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/0.4762, allocations: 27.98 kB / 478.7 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.4762, allocations: 4 kB / 478.7 MB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002146/0.4784, allocations: 0.6942 MB / 479.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.4785, allocations: 4 kB / 479.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.4798, allocations: 301.3 kB / 479.7 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.4806, allocations: 87.83 kB / 479.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007658/0.4882, allocations: 3.153 MB / 482.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/0.4891, allocations: 55.56 kB / 483 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/0.4892, allocations: 28 kB / 483 MB, free: 12.15 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002773/0.4894, allocations: 61.52 kB / 483.1 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.4897, allocations: 67.16 kB / 483.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.49, allocations: 86.91 kB / 483.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.49, allocations: 8 kB / 483.2 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.49, allocations: 4 kB / 483.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.4901, allocations: 7.922 kB / 483.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.4944, allocations: 1.716 MB / 484.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.4945, allocations: 0 / 484.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/0.4951, allocations: 67.89 kB / 485 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/0.4966, allocations: 296.7 kB / 485.3 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-05/0.4967, allocations: 4 kB / 485.3 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007726/0.5044, allocations: 3.182 MB / 488.5 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.5045, allocations: 3.906 kB / 488.5 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003274/0.5078, allocations: 1.201 MB / 489.7 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005652/0.5084, allocations: 244 kB / 489.9 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.5086, allocations: 4 kB / 489.9 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000783/0.5094, allocations: 32.03 kB / 490 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.5096, allocations: 72.53 kB / 490 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/0.5097, allocations: 20 kB / 490.1 MB, free: 4.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006556/0.5104, allocations: 319 kB / 490.4 MB, free: 4.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001562/0.5119, allocations: 382.8 kB / 490.7 MB, free: 4.188 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002736/0.5122, allocations: 131.6 kB / 490.9 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004252/0.5165, allocations: 1.421 MB / 492.3 MB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5165, allocations: 0 / 492.3 MB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.5182, allocations: 0.5388 MB / 492.8 MB, free: 2.043 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5193, allocations: 109.3 kB / 492.9 MB, free: 1.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.5244, allocations: 1.185 MB / 494.1 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.5256, allocations: 1.06 MB / 495.2 MB, free: 15.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5256, allocations: 0 / 495.2 MB, free: 15.64 MB / 394.7 MB Notification: Performance of Templates: time 0.02921/0.5548, allocations: 14.44 MB / 0.4977 GB, free: 1.18 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_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_R/HBridge_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches