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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009603/0.0009604, allocations: 176.9 kB / 8.474 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.118/1.118, allocations: 205.2 MB / 214.1 MB, free: 5.148 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.000876/0.000876, allocations: 90.77 kB / 262.1 MB, free: 5.191 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.65e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06297/0.06299, allocations: 47.58 MB / 362.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.213/0.276, allocations: 85.16 MB / 447.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.2762, allocations: 80.89 kB / 447.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03248/0.3087, allocations: 15.13 MB / 462.9 MB, free: 4.586 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.156e-05/0.3088, allocations: 28.05 kB / 463 MB, free: 4.582 MB / 314.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.001645/0.3105, allocations: 1.078 MB / 464 MB, free: 3.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3105, allocations: 8.25 kB / 464 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.3107, allocations: 112.4 kB / 464.2 MB, free: 3.766 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008477/0.3115, allocations: 0.65 MB / 464.8 MB, free: 3.387 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.3116, allocations: 28.88 kB / 464.8 MB, free: 3.387 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.3117, allocations: 62.77 kB / 464.9 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001118/0.3128, allocations: 0.6241 MB / 465.5 MB, free: 3.359 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.3141, allocations: 0.8003 MB / 466.3 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.3141, allocations: 5.094 kB / 466.3 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/0.3142, allocations: 6.109 kB / 466.3 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.3142, allocations: 26.19 kB / 466.4 MB, free: 3.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.3182, allocations: 3.58 MB / 469.9 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.3192, allocations: 0.6494 MB / 470.6 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.3199, allocations: 439.5 kB / 471 MB, free: 1.008 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.267e-05/0.3199, allocations: 12.84 kB / 471 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005701/0.3205, allocations: 398 kB / 471.4 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 2.485e-06/0.3205, allocations: 1.344 kB / 471.4 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of matching and sorting (n=83): time 0.001176/0.3217, allocations: 0.7188 MB / 472.1 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.3218, allocations: 117.8 kB / 472.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.3223, allocations: 438 kB / 472.7 MB, free: 472 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.3223, allocations: 30.84 kB / 472.7 MB, free: 436 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3225, allocations: 308.5 kB / 473 MB, free: 204 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.3226, allocations: 234.9 kB / 473.2 MB, free: 28 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.3226, allocations: 1.312 kB / 473.2 MB, free: 28 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3228, allocations: 374.2 kB / 473.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.3232, allocations: 229.7 kB / 473.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.3237, allocations: 365.4 kB / 474.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.324, allocations: 248.5 kB / 474.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3241, allocations: 3.984 kB / 474.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001269/0.3253, allocations: 0.7907 MB / 475.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004751/0.3258, allocations: 1.317 MB / 476.5 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3258, allocations: 6.5 kB / 476.5 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008292/0.3267, allocations: 291.5 kB / 476.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.3272, allocations: 110.9 kB / 476.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004272/0.3315, allocations: 4.005 MB / 480.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/0.3321, allocations: 87.58 kB / 481 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.3321, allocations: 29 kB / 481.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.772e-06/0.3321, allocations: 4 kB / 481.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/0.3333, allocations: 0.6901 MB / 481.8 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3333, allocations: 4 kB / 481.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006815/0.334, allocations: 280.7 kB / 482 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.3344, allocations: 103.7 kB / 482.1 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/0.3386, allocations: 4.019 MB / 486.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.3391, allocations: 59.64 kB / 486.2 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/0.3392, allocations: 26.12 kB / 486.2 MB, free: 5.797 MB / 330.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 (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.0002142/0.3394, allocations: 141 kB / 486.4 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.3396, allocations: 71.16 kB / 486.4 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.3398, allocations: 79.98 kB / 486.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.3398, allocations: 8.109 kB / 486.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3398, allocations: 7.875 kB / 486.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3398, allocations: 3.984 kB / 486.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.3423, allocations: 1.726 MB / 488.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3423, allocations: 0 / 488.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.3427, allocations: 83.89 kB / 488.3 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007177/0.3434, allocations: 273.5 kB / 488.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.3435, allocations: 3.906 kB / 488.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004294/0.3478, allocations: 4.009 MB / 492.6 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.3478, allocations: 112 / 492.6 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00183/0.3496, allocations: 1.221 MB / 493.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/0.35, allocations: 240.1 kB / 494.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.3501, allocations: 4 kB / 494.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.3506, allocations: 31.97 kB / 494.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.3507, allocations: 68.67 kB / 494.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.3508, allocations: 24 kB / 494.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003899/0.3512, allocations: 319 kB / 494.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001136/0.3523, allocations: 402.8 kB / 494.9 MB, free: 13.04 MB / 346.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) * 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.0001838/0.3525, allocations: 134.5 kB / 495 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002351/0.3549, allocations: 1.606 MB / 496.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3549, allocations: 0 / 496.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008741/0.3558, allocations: 0.6241 MB / 497.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.3564, allocations: 115.3 kB / 497.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.3591, allocations: 1.223 MB / 498.6 MB, free: 9.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007065/0.3598, allocations: 1.049 MB / 499.7 MB, free: 8.164 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3599, allocations: 0 / 499.7 MB, free: 8.164 MB / 346.7 MB Notification: Performance of Templates: time 0.02568/0.3855, allocations: 16.77 MB / 0.5043 GB, free: 7.41 MB / 362.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