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.001503/0.001502, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001061/0.001061, allocations: 82.66 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.606e-05, allocations: 8 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09444/0.09448, allocations: 47.57 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4195/0.514, allocations: 85.89 MB / 455 MB, free: 7.363 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/0.5144, allocations: 82.7 kB / 455.1 MB, free: 7.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06047/0.5749, allocations: 15.5 MB / 470.6 MB, free: 9.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.575, allocations: 0 / 470.6 MB, free: 9.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.575e-05/0.5751, allocations: 27.98 kB / 470.6 MB, free: 9.594 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.002955/0.578, allocations: 1.055 MB / 471.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.5781, allocations: 12.02 kB / 471.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.5785, allocations: 118.7 kB / 471.8 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.58, allocations: 0.6485 MB / 472.4 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.5801, allocations: 70 kB / 472.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.5803, allocations: 87.98 kB / 472.6 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.5828, allocations: 0.9282 MB / 473.5 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.5828, allocations: 3.938 kB / 473.5 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.583, allocations: 36 kB / 473.6 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.583, allocations: 24 kB / 473.6 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.5851, allocations: 0.6834 MB / 474.3 MB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007995/0.5931, allocations: 3.763 MB / 478 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.5951, allocations: 0.7937 MB / 478.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.5964, allocations: 467.1 kB / 479.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.858e-05/0.5965, allocations: 12.78 kB / 479.3 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.5977, allocations: 457.2 kB / 479.7 MB, free: 156 kB / 346.7 MB Notification: Performance of pre-optimization done (n=83): time 3.637e-06/0.5977, allocations: 0 / 479.7 MB, free: 156 kB / 346.7 MB Notification: Performance of matching and sorting (n=83): time 0.002354/0.6, allocations: 0.7979 MB / 480.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.6002, allocations: 115.6 kB / 480.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.6014, allocations: 0.5934 MB / 481.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.6016, allocations: 45.7 kB / 481.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.6019, allocations: 383 kB / 481.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.6023, allocations: 252.5 kB / 481.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.6023, allocations: 12 kB / 481.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6025, allocations: 338.8 kB / 482.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007176/0.6032, allocations: 245.8 kB / 482.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/0.6041, allocations: 396.4 kB / 482.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007475/0.6049, allocations: 291.8 kB / 483.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6049, allocations: 0 / 483.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002307/0.6072, allocations: 0.8705 MB / 484 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005405/0.6078, allocations: 1.346 MB / 485.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.6078, allocations: 4 kB / 485.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.6092, allocations: 290.5 kB / 485.7 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/0.61, allocations: 111.8 kB / 485.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00767/0.6177, allocations: 4.566 MB / 490.3 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.6189, allocations: 91.38 kB / 490.4 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/0.619, allocations: 24 kB / 490.5 MB, free: 4.914 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.619, allocations: 4 kB / 490.5 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00225/0.6213, allocations: 0.8337 MB / 491.3 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.6213, allocations: 4 kB / 491.3 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.6225, allocations: 278.4 kB / 491.6 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/0.6232, allocations: 103.8 kB / 491.7 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007576/0.6308, allocations: 4.544 MB / 496.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.6321, allocations: 63.62 kB / 496.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.6323, allocations: 32 kB / 496.3 MB, free: 14.77 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.0005414/0.6329, allocations: 168.7 kB / 496.5 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.6333, allocations: 90.91 kB / 496.6 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.6336, allocations: 96.58 kB / 496.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.6337, allocations: 8 kB / 496.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.6337, allocations: 3.984 kB / 496.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.6337, allocations: 11.98 kB / 496.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004685/0.6384, allocations: 1.934 MB / 498.6 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.6385, allocations: 3.938 kB / 498.6 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006972/0.6392, allocations: 83.89 kB / 498.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/0.6405, allocations: 281.5 kB / 499 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.6406, allocations: 16 kB / 499 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008069/0.6487, allocations: 4.553 MB / 0.4917 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6487, allocations: 0 / 0.4917 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.6522, allocations: 1.3 MB / 0.493 GB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/0.6528, allocations: 259.9 kB / 0.4933 GB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.653, allocations: 15.98 kB / 0.4933 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/0.6538, allocations: 39.97 kB / 0.4933 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/0.6542, allocations: 88.59 kB / 0.4934 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-05/0.6542, allocations: 24 kB / 0.4934 GB, free: 5.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009477/0.6552, allocations: 463.2 kB / 0.4939 GB, free: 4.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6552, allocations: 4 kB / 0.4939 GB, free: 4.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001957/0.6572, allocations: 439.1 kB / 0.4943 GB, free: 4.531 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.0002933/0.6575, allocations: 146.1 kB / 0.4944 GB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004497/0.662, allocations: 1.916 MB / 0.4963 GB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.6621, allocations: 0 / 0.4963 GB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.6638, allocations: 0.7366 MB / 0.497 GB, free: 1.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.665, allocations: 155.1 kB / 0.4972 GB, free: 1.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.6691, allocations: 1.27 MB / 0.4984 GB, free: 180 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008917/0.67, allocations: 1.019 MB / 0.4994 GB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.6704, allocations: 55.44 kB / 0.4994 GB, free: 15.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6704, allocations: 4 kB / 0.4995 GB, free: 15.06 MB / 394.7 MB Notification: Performance of Templates: time 0.03672/0.7071, allocations: 18.74 MB / 0.5178 GB, free: 12.29 MB / 410.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