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_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_cpp_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_cpp_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.001558/0.001558, allocations: 182.3 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.021/2.021, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001056/0.001056, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.675e-05/4.75e-05, allocations: 8 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09351, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4119/0.5055, allocations: 85.59 MB / 454.7 MB, free: 7.676 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.5059, allocations: 89.69 kB / 454.8 MB, free: 7.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06198/0.5679, allocations: 15.17 MB / 470 MB, free: 10.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5679, allocations: 0 / 470 MB, free: 10.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.748e-05/0.5681, allocations: 24 kB / 470 MB, free: 10.23 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.003242/0.5713, allocations: 1.055 MB / 471 MB, free: 9.117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.134e-05/0.5714, allocations: 16.02 kB / 471 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004171/0.5718, allocations: 110.7 kB / 471.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.5736, allocations: 0.6369 MB / 471.8 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/0.5737, allocations: 65.98 kB / 471.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/0.574, allocations: 84 kB / 471.9 MB, free: 8.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.5765, allocations: 0.9086 MB / 472.8 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.5766, allocations: 4 kB / 472.9 MB, free: 7.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.5768, allocations: 36 kB / 472.9 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.5768, allocations: 20 kB / 472.9 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.579, allocations: 0.6755 MB / 473.6 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008735/0.5877, allocations: 3.721 MB / 477.3 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.59, allocations: 0.7753 MB / 478.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.5913, allocations: 440.5 kB / 478.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.5914, allocations: 8.781 kB / 478.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/0.5927, allocations: 449.3 kB / 479 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 4.017e-06/0.5927, allocations: 0 / 479 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of matching and sorting (n=81): time 0.002671/0.5954, allocations: 0.8405 MB / 479.8 MB, free: 96 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5956, allocations: 123.6 kB / 479.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.5969, allocations: 0.5855 MB / 480.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001873/0.5971, allocations: 45.7 kB / 480.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.5975, allocations: 379.1 kB / 480.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/0.5979, allocations: 236.7 kB / 481.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/0.5979, allocations: 16 kB / 481.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5981, allocations: 346.8 kB / 481.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/0.5988, allocations: 233.6 kB / 481.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008725/0.5997, allocations: 391 kB / 482.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/0.6005, allocations: 287.8 kB / 482.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.6005, allocations: 0 / 482.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002367/0.6029, allocations: 0.8598 MB / 483.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000589/0.6035, allocations: 1.342 MB / 484.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.6036, allocations: 7.984 kB / 484.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.6051, allocations: 312.6 kB / 484.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.6059, allocations: 99.83 kB / 485 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008059/0.614, allocations: 3.617 MB / 488.6 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.6152, allocations: 107.2 kB / 488.7 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.356e-05/0.6153, allocations: 28 kB / 488.8 MB, free: 6.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.6153, allocations: 4 kB / 488.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002311/0.6176, allocations: 0.8251 MB / 489.6 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6177, allocations: 0 / 489.6 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.619, allocations: 321.8 kB / 489.9 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.6198, allocations: 83.89 kB / 490 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007809/0.6276, allocations: 3.592 MB / 493.6 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008009/0.6285, allocations: 67.52 kB / 493.6 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-05/0.6286, allocations: 28 kB / 493.7 MB, free: 1.703 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.000343/0.6289, allocations: 168.6 kB / 493.8 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.6292, allocations: 82.97 kB / 493.9 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.6296, allocations: 96.39 kB / 494 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.6296, allocations: 8 kB / 494 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.6296, allocations: 3.953 kB / 494 MB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.6297, allocations: 3.984 kB / 494 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004917/0.6346, allocations: 1.923 MB / 495.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.6347, allocations: 4 kB / 495.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.6353, allocations: 59.91 kB / 496 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/0.6368, allocations: 308.7 kB / 496.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.637, allocations: 23.94 kB / 496.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008231/0.6453, allocations: 3.616 MB / 499.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6453, allocations: 7.938 kB / 500 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.6488, allocations: 1.296 MB / 0.4895 GB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007305/0.6496, allocations: 252 kB / 0.4897 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.6499, allocations: 19.98 kB / 0.4898 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008632/0.6508, allocations: 36.05 kB / 0.4898 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/0.6511, allocations: 84.66 kB / 0.4899 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.592e-05/0.6512, allocations: 27.98 kB / 0.4899 GB, free: 9.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001018/0.6523, allocations: 455.2 kB / 0.4903 GB, free: 9.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6523, allocations: 0 / 0.4903 GB, free: 9.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002152/0.6545, allocations: 443.1 kB / 0.4908 GB, free: 8.578 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) * 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.0003388/0.6549, allocations: 142.1 kB / 0.4909 GB, free: 8.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004897/0.6598, allocations: 1.75 MB / 0.4926 GB, free: 6.621 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.6598, allocations: 0 / 0.4926 GB, free: 6.621 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.6617, allocations: 0.6557 MB / 0.4932 GB, free: 5.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.6631, allocations: 150.8 kB / 0.4934 GB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.6677, allocations: 1.231 MB / 0.4946 GB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008087/0.6686, allocations: 1.007 MB / 0.4956 GB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.6689, allocations: 59.42 kB / 0.4956 GB, free: 3.449 MB / 378.7 MB Notification: Performance of SimCode: time 1.422e-06/0.6689, allocations: 0 / 0.4956 GB, free: 3.449 MB / 378.7 MB Notification: Performance of Templates: time 0.03211/0.701, allocations: 14.7 MB / 0.51 GB, free: 4.727 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches