Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001394/0.001394, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000791/0.000791, allocations: 82.72 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.498e-05/1.5e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07966/0.07969, allocations: 47.59 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3005/0.3802, allocations: 85.46 MB / 448.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.3804, allocations: 86.34 kB / 448.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03586/0.4163, allocations: 15.34 MB / 464 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4164, allocations: 0 / 464 MB, free: 13.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.287e-05/0.4164, allocations: 24 kB / 464 MB, free: 13.53 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.00174/0.4182, allocations: 1.061 MB / 465.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.4182, allocations: 11.97 kB / 465.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.4184, allocations: 110.7 kB / 465.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/0.4193, allocations: 0.6527 MB / 465.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.4193, allocations: 31.31 kB / 465.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.4194, allocations: 55.98 kB / 465.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001042/0.4205, allocations: 0.6218 MB / 466.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.4218, allocations: 0.8062 MB / 467.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.4218, allocations: 0 / 467.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.4219, allocations: 7.984 kB / 467.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.4219, allocations: 20 kB / 467.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004263/0.4262, allocations: 3.567 MB / 470.9 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.4272, allocations: 0.7347 MB / 471.7 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/0.4279, allocations: 452.4 kB / 472.1 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.106e-05/0.4279, allocations: 8.781 kB / 472.1 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006244/0.4286, allocations: 423.6 kB / 472.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=83): time 2.345e-06/0.4286, allocations: 0 / 472.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=83): time 0.001164/0.4297, allocations: 0.7286 MB / 473.3 MB, free: 6.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.4298, allocations: 119.5 kB / 473.4 MB, free: 6.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.4304, allocations: 441 kB / 473.8 MB, free: 5.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.4304, allocations: 28.95 kB / 473.8 MB, free: 5.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.4307, allocations: 373.9 kB / 474.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.4309, allocations: 230.4 kB / 474.4 MB, free: 5.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.4309, allocations: 4 kB / 474.4 MB, free: 5.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4311, allocations: 371.2 kB / 474.8 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.4315, allocations: 229.4 kB / 475 MB, free: 5.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.4319, allocations: 379.8 kB / 475.4 MB, free: 4.719 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.4323, allocations: 243.9 kB / 475.6 MB, free: 4.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4323, allocations: 0 / 475.6 MB, free: 4.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001211/0.4335, allocations: 0.8062 MB / 476.4 MB, free: 3.852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005064/0.434, allocations: 1.34 MB / 477.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.434, allocations: 4 kB / 477.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008337/0.4349, allocations: 281.6 kB / 478.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.4353, allocations: 107.8 kB / 478.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00482/0.4402, allocations: 4.426 MB / 482.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005858/0.4408, allocations: 67.55 kB / 482.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.4409, allocations: 32 kB / 482.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.4409, allocations: 4 kB / 482.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001209/0.4421, allocations: 0.7113 MB / 483.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4421, allocations: 4 kB / 483.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006682/0.4428, allocations: 281.5 kB / 483.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.4432, allocations: 104.1 kB / 483.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004446/0.4476, allocations: 4.43 MB / 488.2 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005725/0.4482, allocations: 47.58 kB / 488.3 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.4483, allocations: 28 kB / 488.3 MB, free: 7.41 MB / 362.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.000249/0.4486, allocations: 150.2 kB / 488.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4487, allocations: 71.16 kB / 488.5 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.4489, allocations: 79.36 kB / 488.6 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.4489, allocations: 11.95 kB / 488.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.449, allocations: 3.938 kB / 488.6 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.449, allocations: 3.984 kB / 488.6 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/0.4514, allocations: 1.736 MB / 490.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.4515, allocations: 0 / 490.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/0.4518, allocations: 83.83 kB / 490.4 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006637/0.4525, allocations: 269.5 kB / 490.7 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.4526, allocations: 7.938 kB / 490.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004294/0.4569, allocations: 4.403 MB / 495.1 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4569, allocations: 0 / 495.1 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.4587, allocations: 1.23 MB / 496.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.459, allocations: 240.1 kB / 496.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-05/0.4591, allocations: 3.984 kB / 496.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.4596, allocations: 23.98 kB / 496.6 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.4598, allocations: 88.61 kB / 496.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.4598, allocations: 31.92 kB / 496.7 MB, free: 14.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003794/0.4602, allocations: 323 kB / 497 MB, free: 14.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4602, allocations: 0 / 497 MB, free: 14.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001311/0.4615, allocations: 406.8 kB / 497.4 MB, free: 13.94 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.0001925/0.4617, allocations: 134.4 kB / 497.6 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.4643, allocations: 1.814 MB / 499.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4643, allocations: 192 / 499.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009126/0.4652, allocations: 0.6973 MB / 0.4883 GB, free: 11.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.4658, allocations: 118.8 kB / 0.4885 GB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.4681, allocations: 1.187 MB / 0.4896 GB, free: 9.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.4687, allocations: 1.027 MB / 0.4906 GB, free: 8.801 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003836/0.4691, allocations: 89.64 kB / 0.4907 GB, free: 8.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.268e-05/0.4692, allocations: 35.44 kB / 0.4907 GB, free: 8.676 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4692, allocations: 0 / 0.4907 GB, free: 8.676 MB / 378.7 MB Notification: Performance of Templates: time 0.0238/0.493, allocations: 14.38 MB / 0.5048 GB, free: 10.27 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL_res.mat","/var/lib/jenkins/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_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches