Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001829/0.001829, allocations: 204.5 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009475/0.0009475, allocations: 90.91 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.184e-06/7.304e-06, allocations: 0 / 343.2 MB, free: 8.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 51.47 MB / 394.6 MB, free: 5.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2625/0.3805, allocations: 88.39 MB / 483 MB, free: 4.766 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.3807, allocations: 83.58 kB / 483.1 MB, free: 4.723 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03711/0.4178, allocations: 15.83 MB / 498.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.338e-05/0.4179, allocations: 24 kB / 499 MB, free: 7.781 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001978/0.4199, allocations: 1.097 MB / 0.4883 GB, free: 6.695 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.42, allocations: 12.03 kB / 0.4883 GB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.4202, allocations: 118.6 kB / 0.4885 GB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.4212, allocations: 0.6603 MB / 0.4891 GB, free: 6.023 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.4213, allocations: 32 kB / 0.4891 GB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.4214, allocations: 52 kB / 0.4892 GB, free: 5.941 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001182/0.4226, allocations: 0.6387 MB / 0.4898 GB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.4239, allocations: 0.8241 MB / 0.4906 GB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.424, allocations: 7.922 kB / 0.4906 GB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.424, allocations: 0 / 0.4906 GB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.4241, allocations: 24 kB / 0.4906 GB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004919/0.429, allocations: 3.603 MB / 0.4942 GB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4301, allocations: 0.6495 MB / 0.4948 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006819/0.4308, allocations: 444.2 kB / 0.4952 GB, free: 1.414 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.052e-05/0.4308, allocations: 8.656 kB / 0.4952 GB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006052/0.4314, allocations: 401.2 kB / 0.4956 GB, free: 1.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 1.155e-05/0.4315, allocations: 7.984 kB / 0.4956 GB, free: 1.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.001357/0.4328, allocations: 0.7093 MB / 0.4963 GB, free: 0.625 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.4329, allocations: 112.8 kB / 0.4964 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/0.4335, allocations: 452.4 kB / 0.4968 GB, free: 164 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.4335, allocations: 29.7 kB / 0.4969 GB, free: 128 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.4338, allocations: 312.5 kB / 0.4972 GB, free: 15.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.434, allocations: 235.8 kB / 0.4974 GB, free: 15.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.434, allocations: 0 / 0.4974 GB, free: 15.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4342, allocations: 383.2 kB / 0.4978 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.4346, allocations: 231.2 kB / 0.498 GB, free: 15.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.4351, allocations: 374.7 kB / 0.4983 GB, free: 14.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.4355, allocations: 243.1 kB / 0.4986 GB, free: 14.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4355, allocations: 0 / 0.4986 GB, free: 14.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001343/0.4369, allocations: 0.7979 MB / 0.4994 GB, free: 13.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004638/0.4374, allocations: 1.308 MB / 0.5006 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.4374, allocations: 4 kB / 0.5006 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008508/0.4382, allocations: 277.5 kB / 0.5009 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.4387, allocations: 111.8 kB / 0.501 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004723/0.4435, allocations: 4.032 MB / 0.5049 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.4442, allocations: 71.64 kB / 0.505 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.4443, allocations: 24 kB / 0.505 GB, free: 7.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.4443, allocations: 9.578 kB / 0.505 GB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00124/0.4455, allocations: 0.6874 MB / 0.5057 GB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4456, allocations: 9.547 kB / 0.5057 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007985/0.4464, allocations: 281.7 kB / 0.506 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.4468, allocations: 112.1 kB / 0.5061 GB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004967/0.4518, allocations: 4.022 MB / 0.51 GB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/0.4525, allocations: 55.7 kB / 0.5101 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.4526, allocations: 28 kB / 0.5101 GB, free: 2.074 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.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.fire_n,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.fire_n,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.0003127/0.4529, allocations: 137 kB / 0.5102 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.4531, allocations: 75.06 kB / 0.5103 GB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.4533, allocations: 83.14 kB / 0.5104 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.4533, allocations: 8 kB / 0.5104 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.4534, allocations: 0 / 0.5104 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.4534, allocations: 3.984 kB / 0.5104 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.4564, allocations: 1.738 MB / 0.5121 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4564, allocations: 0 / 0.5121 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.4569, allocations: 79.84 kB / 0.5122 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000785/0.4577, allocations: 278.9 kB / 0.5124 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.582e-05/0.4577, allocations: 8 kB / 0.5124 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004919/0.4627, allocations: 3.996 MB / 0.5163 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.4627, allocations: 0 / 0.5163 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002242/0.4649, allocations: 1.225 MB / 0.5175 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/0.4655, allocations: 232.2 kB / 0.5178 GB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.4657, allocations: 15.98 kB / 0.5178 GB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/0.4663, allocations: 31.97 kB / 0.5178 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.4665, allocations: 64.69 kB / 0.5179 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.4665, allocations: 24.27 kB / 0.5179 GB, free: 9.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005149/0.4671, allocations: 327 kB / 0.5182 GB, free: 9.445 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001555/0.4686, allocations: 414.6 kB / 0.5186 GB, free: 9.039 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.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.fire_n,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.fire_n,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.0002569/0.4689, allocations: 122.3 kB / 0.5187 GB, free: 8.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003034/0.4719, allocations: 1.609 MB / 0.5203 GB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.472, allocations: 4 kB / 0.5203 GB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.473, allocations: 0.6289 MB / 0.5209 GB, free: 6.598 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008888/0.4739, allocations: 109.8 kB / 0.521 GB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.4778, allocations: 1.236 MB / 0.5222 GB, free: 5.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009297/0.4787, allocations: 1.057 MB / 0.5233 GB, free: 4.148 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4787, allocations: 0 / 0.5233 GB, free: 4.148 MB / 394.7 MB Notification: Performance of Templates: time 0.03187/0.5106, allocations: 16.88 MB / 0.5397 GB, free: 3.449 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches