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_RL.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_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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") [: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.001598/0.001598, allocations: 173 kB / 8.148 MB, free: 2.207 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.634/1.634, allocations: 205.2 MB / 213.7 MB, free: 13.92 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.001261/0.00126, allocations: 97.53 kB / 261.8 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.387e-05/1.388e-05, allocations: 4 kB / 314.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2373, allocations: 47.56 MB / 361.9 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.3642, allocations: 85.16 MB / 447 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.3646, allocations: 87.94 kB / 447.1 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06182/0.4264, allocations: 15.13 MB / 462.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.638e-05/0.4265, allocations: 24 kB / 462.3 MB, free: 1.605 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003189/0.4297, allocations: 1.09 MB / 463.3 MB, free: 468 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4298, allocations: 11.97 kB / 463.4 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/0.4302, allocations: 114.7 kB / 463.5 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.4319, allocations: 0.637 MB / 464.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.754e-05/0.432, allocations: 32 kB / 464.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.4322, allocations: 55.91 kB / 464.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002228/0.4345, allocations: 0.6249 MB / 464.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.4368, allocations: 0.807 MB / 465.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.4368, allocations: 4 kB / 465.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.437, allocations: 4 kB / 465.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.437, allocations: 27.94 kB / 465.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00836/0.4454, allocations: 3.574 MB / 469.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.4473, allocations: 0.6434 MB / 469.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.4486, allocations: 446.8 kB / 470.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.717e-05/0.4487, allocations: 8.656 kB / 470.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.4497, allocations: 407.7 kB / 470.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 3.878e-06/0.4498, allocations: 0 / 470.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.002262/0.452, allocations: 0.7104 MB / 471.4 MB, free: 8.133 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/0.4521, allocations: 119.6 kB / 471.6 MB, free: 7.992 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009669/0.4531, allocations: 438 kB / 472 MB, free: 7.559 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-05/0.4532, allocations: 25.7 kB / 472 MB, free: 7.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.4535, allocations: 346.8 kB / 472.3 MB, free: 7.184 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.4539, allocations: 240.5 kB / 472.6 MB, free: 6.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.4539, allocations: 0 / 472.6 MB, free: 6.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4541, allocations: 338.8 kB / 472.9 MB, free: 6.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/0.4548, allocations: 229.8 kB / 473.1 MB, free: 6.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008847/0.4557, allocations: 374.7 kB / 473.5 MB, free: 5.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000736/0.4565, allocations: 243.1 kB / 473.7 MB, free: 5.727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.4565, allocations: 4 kB / 473.7 MB, free: 5.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00226/0.4588, allocations: 0.7628 MB / 474.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005667/0.4594, allocations: 1.314 MB / 475.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.4594, allocations: 4 kB / 475.8 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.4607, allocations: 281.2 kB / 476.1 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/0.4617, allocations: 107.8 kB / 476.2 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007516/0.4692, allocations: 3.978 MB / 480.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008565/0.4701, allocations: 71.88 kB / 480.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/0.4702, allocations: 27.98 kB / 480.3 MB, free: 14.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.4702, allocations: 4 kB / 480.3 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002152/0.4724, allocations: 0.6914 MB / 481 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.4724, allocations: 4 kB / 481 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.4737, allocations: 277.5 kB / 481.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008228/0.4745, allocations: 108.1 kB / 481.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007396/0.4819, allocations: 3.987 MB / 485.3 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.4828, allocations: 51.62 kB / 485.4 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/0.4829, allocations: 28 kB / 485.4 MB, free: 9.465 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 (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.0002972/0.4832, allocations: 69.5 kB / 485.5 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.4834, allocations: 67.16 kB / 485.5 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.4837, allocations: 79.05 kB / 485.6 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.4838, allocations: 8.109 kB / 485.6 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4838, allocations: 7.938 kB / 485.6 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.4838, allocations: 11.97 kB / 485.7 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/0.4881, allocations: 1.73 MB / 487.4 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.4882, allocations: 0 / 487.4 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007801/0.489, allocations: 83.83 kB / 487.5 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.4903, allocations: 269.4 kB / 487.7 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.581e-05/0.4904, allocations: 7.984 kB / 487.7 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007458/0.4979, allocations: 3.996 MB / 491.7 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/0.4979, allocations: 8.016 kB / 491.7 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003349/0.5013, allocations: 1.21 MB / 492.9 MB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005573/0.5019, allocations: 244.1 kB / 493.2 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.5021, allocations: 7.906 kB / 493.2 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008007/0.5029, allocations: 31.97 kB / 493.2 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.5032, allocations: 72.61 kB / 493.3 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-05/0.5033, allocations: 23.98 kB / 493.3 MB, free: 1.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006424/0.5039, allocations: 319 kB / 493.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001608/0.5055, allocations: 390.8 kB / 494 MB, free: 0.5234 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,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 (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.0002697/0.5058, allocations: 119.7 kB / 494.1 MB, free: 408 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004196/0.51, allocations: 1.599 MB / 495.7 MB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.5101, allocations: 3.984 kB / 495.7 MB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.5117, allocations: 0.62 MB / 496.4 MB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.5128, allocations: 115.5 kB / 496.5 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00496/0.5178, allocations: 1.244 MB / 497.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.5189, allocations: 1.06 MB / 498.8 MB, free: 11.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/0.519, allocations: 0 / 498.8 MB, free: 11.62 MB / 394.7 MB Notification: Performance of Templates: time 0.1547/0.6737, allocations: 18.43 MB / 0.5051 GB, free: 158 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_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_RL/HBridge_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches