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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 196.1 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 226.5 MB / 245.4 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007866/0.0007866, allocations: 103 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.0002373, allocations: 4 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 51.3 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09713/0.3242, allocations: 88.84 MB / 498.2 MB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.3245, allocations: 87.94 kB / 498.3 MB, free: 2.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03902/0.3635, allocations: 16.03 MB / 0.5023 GB, free: 2.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3636, allocations: 0 / 0.5023 GB, free: 2.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.085e-05/0.3637, allocations: 24 kB / 0.5023 GB, free: 2.402 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.002591/0.3663, allocations: 1.16 MB / 0.5034 GB, free: 1.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3663, allocations: 16.03 kB / 0.5035 GB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.3667, allocations: 115.5 kB / 0.5036 GB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.3681, allocations: 0.669 MB / 0.5042 GB, free: 344 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.3682, allocations: 70.36 kB / 0.5043 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.3684, allocations: 88.38 kB / 0.5044 GB, free: 188 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.166/0.5344, allocations: 0.9694 MB / 0.5053 GB, free: 88.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-05/0.5345, allocations: 7.781 kB / 0.5053 GB, free: 88.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.5347, allocations: 37.22 kB / 0.5054 GB, free: 88.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.5347, allocations: 23.14 kB / 0.5054 GB, free: 88.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.5367, allocations: 0.7506 MB / 0.5061 GB, free: 88.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005579/0.5423, allocations: 3.801 MB / 0.5098 GB, free: 87.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.5437, allocations: 0.8043 MB / 0.5106 GB, free: 87.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009697/0.5447, allocations: 474 kB / 0.5111 GB, free: 87.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-05/0.5447, allocations: 10.94 kB / 0.5111 GB, free: 87.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009136/0.5457, allocations: 471.1 kB / 0.5115 GB, free: 87.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=83): time 4.088e-06/0.5457, allocations: 0.5 kB / 0.5115 GB, free: 87.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.003543/0.5492, allocations: 1.598 MB / 0.5131 GB, free: 86.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.5493, allocations: 124 kB / 0.5132 GB, free: 86.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008937/0.5502, allocations: 0.6872 MB / 0.5139 GB, free: 86.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.5503, allocations: 44.73 kB / 0.5139 GB, free: 86.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.5505, allocations: 367.9 kB / 0.5143 GB, free: 86.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.5507, allocations: 251.7 kB / 0.5145 GB, free: 85.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.5508, allocations: 15.94 kB / 0.5145 GB, free: 85.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5509, allocations: 399.6 kB / 0.5149 GB, free: 85.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.5514, allocations: 272.2 kB / 0.5152 GB, free: 85.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.5519, allocations: 425.3 kB / 0.5156 GB, free: 85.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009116/0.5528, allocations: 0.6521 MB / 0.5162 GB, free: 84.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.5529, allocations: 7.172 kB / 0.5162 GB, free: 84.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001505/0.5544, allocations: 0.9667 MB / 0.5172 GB, free: 84.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.5545, allocations: 227.4 kB / 0.5174 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.5545, allocations: 3.875 kB / 0.5174 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007727/0.5553, allocations: 278.7 kB / 0.5176 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.5557, allocations: 113.2 kB / 0.5178 GB, free: 83.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004137/0.5599, allocations: 4.59 MB / 0.5222 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/0.5605, allocations: 88.08 kB / 0.5223 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.5606, allocations: 28 kB / 0.5223 GB, free: 80.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/0.5606, allocations: 9.703 kB / 0.5224 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001377/0.562, allocations: 0.8601 MB / 0.5232 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.562, allocations: 7.562 kB / 0.5232 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.5627, allocations: 288 kB / 0.5235 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.563, allocations: 101.9 kB / 0.5236 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/0.567, allocations: 4.583 MB / 0.5281 GB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.5676, allocations: 86.52 kB / 0.5281 GB, free: 75.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.5677, allocations: 25.25 kB / 0.5282 GB, free: 75.84 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.0005586/0.5682, allocations: 346 kB / 0.5285 GB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.5684, allocations: 85.53 kB / 0.5286 GB, free: 75.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.5687, allocations: 115.5 kB / 0.5287 GB, free: 75.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5687, allocations: 7.312 kB / 0.5287 GB, free: 75.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5687, allocations: 0 / 0.5287 GB, free: 75.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5687, allocations: 3.938 kB / 0.5287 GB, free: 75.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.5714, allocations: 1.974 MB / 0.5306 GB, free: 74.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5714, allocations: 3.5 kB / 0.5306 GB, free: 74.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.5718, allocations: 81.5 kB / 0.5307 GB, free: 74.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006526/0.5724, allocations: 278.1 kB / 0.531 GB, free: 74.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.5725, allocations: 15.75 kB / 0.531 GB, free: 74.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003987/0.5765, allocations: 4.591 MB / 0.5355 GB, free: 70.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5765, allocations: 4 kB / 0.5355 GB, free: 70.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.5784, allocations: 1.348 MB / 0.5368 GB, free: 69.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.5788, allocations: 257.9 kB / 0.537 GB, free: 68.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.579, allocations: 16 kB / 0.537 GB, free: 68.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.5794, allocations: 49.41 kB / 0.5371 GB, free: 68.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.5796, allocations: 79.8 kB / 0.5372 GB, free: 68.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.5797, allocations: 27.75 kB / 0.5372 GB, free: 68.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005876/0.5803, allocations: 481.5 kB / 0.5377 GB, free: 68.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5803, allocations: 4 kB / 0.5377 GB, free: 68.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001331/0.5816, allocations: 457.3 kB / 0.5381 GB, free: 67.93 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.0001915/0.5818, allocations: 133.8 kB / 0.5382 GB, free: 67.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002652/0.5845, allocations: 2.003 MB / 0.5402 GB, free: 65.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5845, allocations: 0 / 0.5402 GB, free: 65.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008848/0.5854, allocations: 0.7532 MB / 0.5409 GB, free: 65.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00084/0.5862, allocations: 186.7 kB / 0.5411 GB, free: 65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.5891, allocations: 1.981 MB / 0.543 GB, free: 63.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.5895, allocations: 1.006 MB / 0.544 GB, free: 62.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003989/0.5899, allocations: 84.86 kB / 0.5441 GB, free: 62.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.59, allocations: 51.44 kB / 0.5441 GB, free: 62.15 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.59, allocations: 0 / 0.5441 GB, free: 62.15 MB / 378.7 MB Notification: Performance of Templates: time 0.02231/0.6124, allocations: 16.14 MB / 0.5599 GB, free: 48.31 MB / 378.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/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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches