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.001732/0.001732, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.869/2.869, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0009946/0.0009946, allocations: 86.38 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004604, allocations: 12 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4701, allocations: 47.58 MB / 375.7 MB, free: 45.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.661, allocations: 86.09 MB / 461.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00062/0.6617, allocations: 91.95 kB / 461.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0659/0.7277, allocations: 15.5 MB / 477.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.338e-06/0.7278, allocations: 0 / 477.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001176/0.7279, allocations: 27.94 kB / 477.4 MB, free: 10.81 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.004012/0.7319, allocations: 1.149 MB / 478.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.603e-05/0.732, allocations: 8.031 kB / 478.6 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004456/0.7325, allocations: 115.6 kB / 478.7 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.7344, allocations: 0.6651 MB / 479.4 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.7346, allocations: 66.38 kB / 479.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.7348, allocations: 92.36 kB / 479.5 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/0.738, allocations: 0.9753 MB / 480.5 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/0.7381, allocations: 4.094 kB / 480.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.7382, allocations: 51.86 kB / 480.6 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-05/0.7383, allocations: 20 kB / 480.6 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.7408, allocations: 0.7495 MB / 481.3 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008975/0.7498, allocations: 3.755 MB / 485.1 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/0.7523, allocations: 0.8192 MB / 485.9 MB, free: 2.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.7538, allocations: 478.7 kB / 486.4 MB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.041e-05/0.7539, allocations: 8.656 kB / 486.4 MB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/0.7552, allocations: 476.3 kB / 486.8 MB, free: 1.105 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 5.691e-06/0.7553, allocations: 0 / 486.8 MB, free: 1.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=83): time 0.006584/0.7619, allocations: 1.6 MB / 488.4 MB, free: 15.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.7621, allocations: 119.8 kB / 488.6 MB, free: 15.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.7641, allocations: 0.68 MB / 489.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.7643, allocations: 45.64 kB / 489.3 MB, free: 14.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000573/0.7649, allocations: 372.6 kB / 489.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004664/0.7654, allocations: 252.4 kB / 489.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.7655, allocations: 16 kB / 489.9 MB, free: 13.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003202/0.7658, allocations: 386.8 kB / 490.3 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009853/0.7668, allocations: 277.8 kB / 490.6 MB, free: 13.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.7679, allocations: 425.1 kB / 491 MB, free: 12.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.7698, allocations: 0.6479 MB / 491.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.7698, allocations: 0 / 491.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003166/0.773, allocations: 0.9724 MB / 492.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003653/0.7734, allocations: 225.2 kB / 492.8 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.7735, allocations: 4 kB / 492.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.7749, allocations: 289.5 kB / 493.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.7756, allocations: 115.8 kB / 493.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009753/0.7854, allocations: 4.572 MB / 497.8 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.7869, allocations: 95.48 kB / 497.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.7871, allocations: 27.94 kB / 497.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.7872, allocations: 4 kB / 497.9 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002893/0.7901, allocations: 0.8697 MB / 498.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.7901, allocations: 448 / 498.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.7914, allocations: 281.6 kB / 499.1 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006445/0.7921, allocations: 99.83 kB / 499.2 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3864/1.178, allocations: 4.59 MB / 0.4919 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.18, allocations: 83.41 kB / 0.492 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/1.18, allocations: 26.81 kB / 0.492 GB, free: 102.1 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.001017/1.181, allocations: 352 kB / 0.4924 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/1.181, allocations: 85.59 kB / 0.4925 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/1.182, allocations: 101.9 kB / 0.4926 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/1.182, allocations: 8.438 kB / 0.4926 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.182, allocations: 0 / 0.4926 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.182, allocations: 4.031 kB / 0.4926 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005751/1.188, allocations: 1.962 MB / 0.4945 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.188, allocations: 4.859 kB / 0.4945 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/1.188, allocations: 79.78 kB / 0.4946 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/1.19, allocations: 284.9 kB / 0.4948 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.719e-05/1.19, allocations: 18.25 kB / 0.4949 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008974/1.199, allocations: 4.575 MB / 0.4993 GB, free: 98.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/1.199, allocations: 3.969 kB / 0.4993 GB, free: 98.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/1.202, allocations: 1.359 MB / 0.5007 GB, free: 98.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005773/1.202, allocations: 256.7 kB / 0.5009 GB, free: 98.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/1.203, allocations: 15.81 kB / 0.5009 GB, free: 98.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/1.203, allocations: 39.28 kB / 0.501 GB, free: 98.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/1.203, allocations: 86.75 kB / 0.501 GB, free: 98.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/1.203, allocations: 26.16 kB / 0.5011 GB, free: 98.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008085/1.204, allocations: 480.5 kB / 0.5015 GB, free: 98.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.204, allocations: 0 / 0.5015 GB, free: 98.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002198/1.206, allocations: 447.1 kB / 0.5019 GB, free: 98.45 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.0003273/1.207, allocations: 150.5 kB / 0.5021 GB, free: 98.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004623/1.211, allocations: 1.996 MB / 0.504 GB, free: 97.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/1.211, allocations: 0 / 0.504 GB, free: 97.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001646/1.213, allocations: 0.7556 MB / 0.5048 GB, free: 96.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.215, allocations: 170 kB / 0.5049 GB, free: 96.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/1.22, allocations: 2.012 MB / 0.5069 GB, free: 95.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009359/1.221, allocations: 0.9956 MB / 0.5079 GB, free: 94.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003866/1.221, allocations: 54.34 kB / 0.5079 GB, free: 94.94 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/1.221, allocations: 4 kB / 0.5079 GB, free: 94.93 MB / 378.7 MB Notification: Performance of Templates: time 0.04174/1.263, allocations: 19.65 MB / 0.5271 GB, free: 85.09 MB / 378.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