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.0008837/0.0008837, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.252/1.252, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007333/0.0007334, allocations: 88.75 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1887, allocations: 47.57 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08729/0.2761, allocations: 85.79 MB / 462.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.2763, allocations: 87.94 kB / 462.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03725/0.3136, allocations: 15.19 MB / 478.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3136, allocations: 0 / 478.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.02e-05/0.3137, allocations: 32.16 kB / 478.1 MB, free: 11.33 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002183/0.3159, allocations: 1.133 MB / 479.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3159, allocations: 12.03 kB / 479.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.3162, allocations: 115.5 kB / 479.4 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000972/0.3171, allocations: 0.6613 MB / 480 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.3172, allocations: 58.38 kB / 480.1 MB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.3173, allocations: 88.38 kB / 480.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.319, allocations: 0.9558 MB / 481.1 MB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.319, allocations: 4.094 kB / 481.1 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.3191, allocations: 39.94 kB / 481.2 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.3191, allocations: 20 kB / 481.2 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.3206, allocations: 0.7417 MB / 481.9 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004689/0.3253, allocations: 3.705 MB / 485.6 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.3266, allocations: 0.8022 MB / 486.5 MB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007238/0.3274, allocations: 452.1 kB / 486.9 MB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.3274, allocations: 8.656 kB / 486.9 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007651/0.3282, allocations: 467.2 kB / 487.4 MB, free: 1.793 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 2.364e-06/0.3282, allocations: 0 / 487.4 MB, free: 1.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.005208/0.3334, allocations: 1.885 MB / 489.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.3335, allocations: 115.5 kB / 489.4 MB, free: 15.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009692/0.3345, allocations: 0.6799 MB / 490 MB, free: 15.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.776e-05/0.3346, allocations: 45.7 kB / 490.1 MB, free: 15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.3349, allocations: 360.6 kB / 490.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.3351, allocations: 240.5 kB / 490.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.3352, allocations: 16 kB / 490.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3354, allocations: 386.7 kB / 491.1 MB, free: 14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/0.336, allocations: 269.9 kB / 491.3 MB, free: 13.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006213/0.3366, allocations: 417.1 kB / 491.7 MB, free: 13.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.3376, allocations: 0.6401 MB / 492.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3377, allocations: 0 / 492.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001677/0.3393, allocations: 0.9651 MB / 493.3 MB, free: 11.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.3395, allocations: 217.7 kB / 493.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3395, allocations: 7.938 kB / 493.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008722/0.3404, allocations: 320.6 kB / 493.9 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.3408, allocations: 91.89 kB / 494 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004886/0.3457, allocations: 3.652 MB / 497.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007273/0.3464, allocations: 91.34 kB / 497.7 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/0.3465, allocations: 28 kB / 497.7 MB, free: 7.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.3466, allocations: 4 kB / 497.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001536/0.3481, allocations: 0.8576 MB / 498.6 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3481, allocations: 4 kB / 498.6 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008039/0.3489, allocations: 321.4 kB / 498.9 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.3493, allocations: 95.83 kB / 499 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/0.3541, allocations: 3.632 MB / 0.4909 GB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.3547, allocations: 83.34 kB / 0.4909 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/0.3548, allocations: 28 kB / 0.491 GB, free: 1.852 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 (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.0006197/0.3554, allocations: 344.7 kB / 0.4913 GB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.3556, allocations: 86.91 kB / 0.4914 GB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.3559, allocations: 108.4 kB / 0.4915 GB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.3559, allocations: 8 kB / 0.4915 GB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.356, allocations: 0 / 0.4915 GB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.356, allocations: 7.922 kB / 0.4915 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1548/0.5108, allocations: 1.935 MB / 0.4934 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5108, allocations: 0.5312 kB / 0.4934 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.5112, allocations: 64.92 kB / 0.4934 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009185/0.5121, allocations: 313.8 kB / 0.4937 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.5121, allocations: 13.31 kB / 0.4938 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004434/0.5166, allocations: 3.635 MB / 0.4973 GB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5166, allocations: 1.156 kB / 0.4973 GB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.5187, allocations: 1.339 MB / 0.4986 GB, free: 102.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.519, allocations: 253.9 kB / 0.4989 GB, free: 102.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.309e-05/0.5191, allocations: 17.36 kB / 0.4989 GB, free: 102.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.5195, allocations: 44.47 kB / 0.4989 GB, free: 102.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.5197, allocations: 83.47 kB / 0.499 GB, free: 102.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.5198, allocations: 21.72 kB / 0.499 GB, free: 102.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006074/0.5204, allocations: 482.9 kB / 0.4995 GB, free: 102.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5204, allocations: 1.188 kB / 0.4995 GB, free: 102.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001225/0.5216, allocations: 440.9 kB / 0.4999 GB, free: 102.4 MB / 378.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) * Number of clocked states: 0 () * 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.0001733/0.5218, allocations: 144.1 kB / 0.5 GB, free: 102.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.5245, allocations: 1.825 MB / 0.5018 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5245, allocations: 2.875 kB / 0.5018 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009583/0.5255, allocations: 0.6788 MB / 0.5025 GB, free: 101.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007882/0.5263, allocations: 171.4 kB / 0.5026 GB, free: 101.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.5289, allocations: 1.864 MB / 0.5045 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.5293, allocations: 0.9943 MB / 0.5054 GB, free: 99.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000305/0.5296, allocations: 90.27 kB / 0.5055 GB, free: 99.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.898e-05/0.5297, allocations: 45.12 kB / 0.5056 GB, free: 99.68 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5297, allocations: 2.312 kB / 0.5056 GB, free: 99.68 MB / 378.7 MB Notification: Performance of Templates: time 0.0209/0.5506, allocations: 16.54 MB / 0.5217 GB, free: 93.29 MB / 378.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/jenkins1/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