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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 188.2 kB / 16.4 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001115/0.001115, allocations: 99.33 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 8 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3237, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4626, allocations: 85.99 MB / 460.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/0.463, allocations: 87.95 kB / 460.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06367/0.5267, allocations: 15.5 MB / 476.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5267, allocations: 0 / 476.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001094/0.5269, allocations: 31.92 kB / 476.1 MB, free: 11.06 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003598/0.5305, allocations: 1.164 MB / 477.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5305, allocations: 8.031 kB / 477.3 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/0.5309, allocations: 114.7 kB / 477.4 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.5325, allocations: 0.6447 MB / 478.1 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.019e-05/0.5326, allocations: 70 kB / 478.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.5328, allocations: 84 kB / 478.2 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.5355, allocations: 0.9748 MB / 479.2 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.5356, allocations: 3.938 kB / 479.2 MB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.5358, allocations: 32 kB / 479.2 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.5358, allocations: 24 kB / 479.3 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.5382, allocations: 0.7534 MB / 480 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008185/0.5465, allocations: 3.767 MB / 483.8 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.5487, allocations: 0.7999 MB / 484.6 MB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.522e-05/0.5489, allocations: 12.66 kB / 484.6 MB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.5501, allocations: 472.4 kB / 485.1 MB, free: 1.855 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 3.566e-06/0.5502, allocations: 0 / 485.1 MB, free: 1.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.006872/0.5571, allocations: 1.575 MB / 486.6 MB, free: 240 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/0.5572, allocations: 111.8 kB / 486.7 MB, free: 104 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.5586, allocations: 0.6089 MB / 487.3 MB, free: 15.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.5588, allocations: 41.7 kB / 487.4 MB, free: 15.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.5591, allocations: 391.1 kB / 487.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/0.5595, allocations: 248.5 kB / 488 MB, free: 14.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.5596, allocations: 19.94 kB / 488 MB, free: 14.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5598, allocations: 342.8 kB / 488.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009391/0.5607, allocations: 269.9 kB / 488.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.5618, allocations: 421 kB / 489 MB, free: 13.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/0.5627, allocations: 316.9 kB / 489.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.5628, allocations: 0 / 489.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002741/0.5655, allocations: 0.914 MB / 490.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006191/0.5662, allocations: 1.343 MB / 491.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5662, allocations: 4 kB / 491.6 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.5677, allocations: 288.3 kB / 491.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/0.5686, allocations: 103.8 kB / 492 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008385/0.577, allocations: 4.654 MB / 496.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.5781, allocations: 103.4 kB / 496.7 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.424e-05/0.5782, allocations: 24 kB / 496.8 MB, free: 5.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.5782, allocations: 5.719 kB / 496.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00253/0.5808, allocations: 0.8658 MB / 497.6 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.5808, allocations: 4 kB / 497.6 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.582, allocations: 282.2 kB / 497.9 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.5828, allocations: 99.83 kB / 498 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2686/0.8514, allocations: 4.62 MB / 0.4909 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008139/0.8523, allocations: 71.83 kB / 0.4909 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.721e-05/0.8524, allocations: 27.83 kB / 0.491 GB, free: 101.9 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 () * 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.0007867/0.8532, allocations: 350.5 kB / 0.4913 GB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.8535, allocations: 84.36 kB / 0.4914 GB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.8538, allocations: 98.78 kB / 0.4915 GB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.8538, allocations: 11.38 kB / 0.4915 GB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.8538, allocations: 4.781 kB / 0.4915 GB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.8539, allocations: 4.703 kB / 0.4915 GB, free: 101.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/0.8587, allocations: 1.961 MB / 0.4934 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.8587, allocations: 1.375 kB / 0.4934 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006646/0.8594, allocations: 82.83 kB / 0.4935 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.8607, allocations: 281.9 kB / 0.4937 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.8609, allocations: 13.19 kB / 0.4938 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00758/0.8685, allocations: 4.667 MB / 0.4983 GB, free: 98.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8685, allocations: 0 / 0.4983 GB, free: 98.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003657/0.8722, allocations: 1.347 MB / 0.4996 GB, free: 98.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006176/0.8728, allocations: 258.8 kB / 0.4999 GB, free: 98.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.873, allocations: 14.72 kB / 0.4999 GB, free: 98.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007777/0.8738, allocations: 45.16 kB / 0.4999 GB, free: 98.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/0.8742, allocations: 86.95 kB / 0.5 GB, free: 98.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/0.8742, allocations: 19.06 kB / 0.5 GB, free: 98.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001048/0.8753, allocations: 482.8 kB / 0.5005 GB, free: 98.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.763e-06/0.8753, allocations: 0 / 0.5005 GB, free: 98.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0023/0.8776, allocations: 442.8 kB / 0.5009 GB, free: 98.26 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) * 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.0003014/0.878, allocations: 140.7 kB / 0.5011 GB, free: 98.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00478/0.8828, allocations: 1.985 MB / 0.503 GB, free: 97.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.8828, allocations: 0.8438 kB / 0.503 GB, free: 97.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.8846, allocations: 0.759 MB / 0.5037 GB, free: 96.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.8859, allocations: 153.3 kB / 0.5039 GB, free: 96.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.8906, allocations: 1.996 MB / 0.5058 GB, free: 95.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.8913, allocations: 1.015 MB / 0.5068 GB, free: 94.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.8916, allocations: 50.62 kB / 0.5069 GB, free: 94.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.8916, allocations: 3.875 kB / 0.5069 GB, free: 94.78 MB / 378.7 MB Notification: Performance of Templates: time 0.02972/0.9213, allocations: 18.73 MB / 0.5252 GB, free: 86.03 MB / 378.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