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_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001353, 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.323/1.323, allocations: 205.3 MB / 214.4 MB, free: 1.672 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.0008415/0.0008415, allocations: 90.22 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.895e-05/1.897e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07671/0.07674, allocations: 47.58 MB / 363.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/0.3599, allocations: 85.17 MB / 448.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.3602, allocations: 90.19 kB / 448.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0345/0.3947, allocations: 15 MB / 463.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3948, allocations: 0 / 463.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.777e-05/0.3949, allocations: 31.92 kB / 463.4 MB, free: 14.11 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001703/0.3966, allocations: 1.044 MB / 464.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3966, allocations: 8.031 kB / 464.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.3968, allocations: 110.7 kB / 464.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008627/0.3977, allocations: 0.6411 MB / 465.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.3977, allocations: 28 kB / 465.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3978, allocations: 55.19 kB / 465.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/0.3988, allocations: 0.6138 MB / 465.9 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.4001, allocations: 0.7948 MB / 466.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.4001, allocations: 0 / 466.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.628e-05/0.4002, allocations: 4 kB / 466.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.4002, allocations: 23.98 kB / 466.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/0.4044, allocations: 3.532 MB / 470.2 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.4054, allocations: 0.7233 MB / 471 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005958/0.406, allocations: 417.5 kB / 471.4 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.4061, allocations: 8.781 kB / 471.4 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000623/0.4067, allocations: 413.5 kB / 471.8 MB, free: 7.652 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 2.394e-06/0.4068, allocations: 3.938 kB / 471.8 MB, free: 7.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=81): time 0.001326/0.4081, allocations: 0.7828 MB / 472.6 MB, free: 7.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.4082, allocations: 115.6 kB / 472.7 MB, free: 6.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.4086, allocations: 433.9 kB / 473.1 MB, free: 6.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.4087, allocations: 36.94 kB / 473.1 MB, free: 6.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.4089, allocations: 366.6 kB / 473.5 MB, free: 6.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.4091, allocations: 227.4 kB / 473.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.4092, allocations: 4 kB / 473.7 MB, free: 6.133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4094, allocations: 370.3 kB / 474.1 MB, free: 5.789 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.4097, allocations: 223.3 kB / 474.3 MB, free: 5.672 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.4102, allocations: 366.8 kB / 474.7 MB, free: 5.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.4105, allocations: 239 kB / 474.9 MB, free: 5.242 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4105, allocations: 3.953 kB / 474.9 MB, free: 5.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001195/0.4117, allocations: 0.7983 MB / 475.7 MB, free: 4.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005592/0.4123, allocations: 1.34 MB / 477 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4123, allocations: 4 kB / 477 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007993/0.4131, allocations: 320.5 kB / 477.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.4135, allocations: 91.83 kB / 477.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/0.4179, allocations: 3.521 MB / 481 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.4184, allocations: 71.5 kB / 481 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.4185, allocations: 24 kB / 481.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/0.4185, allocations: 4 kB / 481.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/0.4197, allocations: 0.7108 MB / 481.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4197, allocations: 3.953 kB / 481.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007252/0.4204, allocations: 316.6 kB / 482.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.4208, allocations: 79.91 kB / 482.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004293/0.4251, allocations: 3.517 MB / 485.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.4255, allocations: 55.52 kB / 485.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.4255, allocations: 28 kB / 485.8 MB, free: 10.19 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 (62): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001912/0.4257, allocations: 147 kB / 485.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.4258, allocations: 67.16 kB / 486 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.426, allocations: 79.28 kB / 486 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.426, allocations: 8 kB / 486 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4261, allocations: 4 kB / 486.1 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.4261, allocations: 3.984 kB / 486.1 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.4284, allocations: 1.728 MB / 487.8 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4285, allocations: 4 kB / 487.8 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.4288, allocations: 59.91 kB / 487.8 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007126/0.4295, allocations: 300.9 kB / 488.1 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.4295, allocations: 4 kB / 488.1 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00439/0.4339, allocations: 3.529 MB / 491.7 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4339, allocations: 4.094 kB / 491.7 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.4357, allocations: 1.206 MB / 492.9 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.436, allocations: 236 kB / 493.1 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.655e-05/0.4361, allocations: 12.05 kB / 493.1 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.4365, allocations: 27.97 kB / 493.2 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.4367, allocations: 84.59 kB / 493.2 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.4367, allocations: 20 kB / 493.3 MB, free: 2.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003601/0.4371, allocations: 319 kB / 493.6 MB, free: 2.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4371, allocations: 0 / 493.6 MB, free: 2.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001172/0.4383, allocations: 414.8 kB / 494 MB, free: 1.758 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * 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 (48): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001916/0.4385, allocations: 130.2 kB / 494.1 MB, free: 1.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002482/0.441, allocations: 1.657 MB / 495.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.441, allocations: 0 / 495.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.4419, allocations: 0.6298 MB / 496.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.4425, allocations: 113.9 kB / 496.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.4447, allocations: 1.131 MB / 497.6 MB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.4453, allocations: 1.008 MB / 498.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003516/0.4457, allocations: 89.53 kB / 498.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.4458, allocations: 39.44 kB / 498.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4458, allocations: 0 / 498.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of Templates: time 0.02235/0.4681, allocations: 14.87 MB / 0.5016 GB, free: 13.95 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_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_R/HBridge_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches