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.001558/0.001559, allocations: 180 kB / 17.01 MB, free: 5.125 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.628/1.628, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008353/0.0008352, allocations: 90.66 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002586, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2317, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.3356, allocations: 85.99 MB / 461.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.3359, allocations: 87.94 kB / 461.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03836/0.3743, allocations: 15.48 MB / 477.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3743, allocations: 0 / 477.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.711e-05/0.3744, allocations: 27.94 kB / 477.4 MB, free: 10.96 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.001917/0.3763, allocations: 1.161 MB / 478.6 MB, free: 9.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3764, allocations: 15.97 kB / 478.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.3765, allocations: 110.7 kB / 478.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009247/0.3775, allocations: 0.6563 MB / 479.4 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/0.3775, allocations: 73.98 kB / 479.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.3777, allocations: 88 kB / 479.5 MB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.3792, allocations: 0.9592 MB / 480.5 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.3793, allocations: 0 / 480.5 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/0.3794, allocations: 39.94 kB / 480.5 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.3794, allocations: 28 kB / 480.5 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.3808, allocations: 0.7456 MB / 481.3 MB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004832/0.3857, allocations: 3.775 MB / 485.1 MB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.387, allocations: 0.8039 MB / 485.9 MB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.387, allocations: 8.656 kB / 485.9 MB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007635/0.3878, allocations: 468.4 kB / 486.3 MB, free: 1.746 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.614e-06/0.3878, allocations: 0 / 486.3 MB, free: 1.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.003586/0.3914, allocations: 1.567 MB / 487.9 MB, free: 136 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.05e-05/0.3915, allocations: 123.8 kB / 488 MB, free: 15.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007902/0.3923, allocations: 0.6089 MB / 488.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/0.3924, allocations: 49.69 kB / 488.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.3927, allocations: 364.6 kB / 489 MB, free: 14.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.3928, allocations: 244.5 kB / 489.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.3929, allocations: 12 kB / 489.3 MB, free: 14.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3931, allocations: 394.7 kB / 489.7 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.3936, allocations: 269.9 kB / 489.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.3942, allocations: 421 kB / 490.3 MB, free: 13.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/0.3947, allocations: 312.9 kB / 490.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3947, allocations: 4 kB / 490.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001561/0.3963, allocations: 0.9608 MB / 491.6 MB, free: 12.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004835/0.3968, allocations: 1.344 MB / 493 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3968, allocations: 4 kB / 493 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007874/0.3976, allocations: 289.5 kB / 493.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.398, allocations: 107.8 kB / 493.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/0.4032, allocations: 4.66 MB / 498 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/0.4039, allocations: 107.4 kB / 498.1 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.404, allocations: 27.94 kB / 498.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.404, allocations: 4 kB / 498.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001418/0.4054, allocations: 0.8584 MB / 499 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4054, allocations: 4 kB / 499 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/0.4061, allocations: 282.8 kB / 499.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.4065, allocations: 103.9 kB / 499.4 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.175/0.5815, allocations: 4.654 MB / 0.4922 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/0.5823, allocations: 84.22 kB / 0.4923 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.5825, allocations: 26.19 kB / 0.4923 GB, free: 102.2 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.0006566/0.5832, allocations: 341.2 kB / 0.4927 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.5834, allocations: 90.44 kB / 0.4927 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.5836, allocations: 94.34 kB / 0.4928 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.5836, allocations: 11.98 kB / 0.4928 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5836, allocations: 1.406 kB / 0.4928 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.5836, allocations: 3.844 kB / 0.4928 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.5865, allocations: 1.96 MB / 0.4948 GB, free: 101.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5865, allocations: 0 / 0.4948 GB, free: 101.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.5869, allocations: 73.95 kB / 0.4948 GB, free: 101.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006954/0.5876, allocations: 296 kB / 0.4951 GB, free: 101.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.5877, allocations: 14.72 kB / 0.4951 GB, free: 101.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00431/0.592, allocations: 4.658 MB / 0.4997 GB, free: 99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.592, allocations: 0 / 0.4997 GB, free: 99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.5941, allocations: 1.349 MB / 0.501 GB, free: 98.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.5944, allocations: 257.9 kB / 0.5012 GB, free: 98.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-05/0.5945, allocations: 15.56 kB / 0.5013 GB, free: 98.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.5949, allocations: 41.12 kB / 0.5013 GB, free: 98.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.5951, allocations: 84.81 kB / 0.5014 GB, free: 98.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.5952, allocations: 22.8 kB / 0.5014 GB, free: 98.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006153/0.5958, allocations: 482.1 kB / 0.5019 GB, free: 98.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5958, allocations: 1.062 kB / 0.5019 GB, free: 98.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001721/0.5975, allocations: 449.3 kB / 0.5023 GB, free: 98.48 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.0002315/0.5978, allocations: 148.2 kB / 0.5024 GB, free: 98.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.6006, allocations: 1.986 MB / 0.5044 GB, free: 97.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.6006, allocations: 0 / 0.5044 GB, free: 97.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008775/0.6015, allocations: 0.7533 MB / 0.5051 GB, free: 96.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.6022, allocations: 158.1 kB / 0.5053 GB, free: 96.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.6049, allocations: 1.957 MB / 0.5072 GB, free: 95.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.6053, allocations: 1.022 MB / 0.5082 GB, free: 94.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003239/0.6057, allocations: 82.67 kB / 0.5082 GB, free: 94.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.6058, allocations: 50.75 kB / 0.5083 GB, free: 94.93 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.6058, allocations: 0 / 0.5083 GB, free: 94.93 MB / 378.7 MB Notification: Performance of Templates: time 0.01985/0.6257, allocations: 15.93 MB / 0.5238 GB, free: 88.68 MB / 378.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