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") [: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.0009993/0.0009997, allocations: 174.5 kB / 8.472 MB, free: 1.852 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.11/1.11, allocations: 205.2 MB / 214.1 MB, free: 5.09 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.0008021/0.0008021, allocations: 85.92 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.141e-06/6.171e-06, allocations: 4 kB / 315 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06529/0.06531, allocations: 47.57 MB / 362.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2142/0.2796, allocations: 84.86 MB / 447.4 MB, free: 10.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.2798, allocations: 88.75 kB / 447.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03241/0.3122, allocations: 14.81 MB / 462.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.38e-05/0.3123, allocations: 26.19 kB / 462.3 MB, free: 4.82 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001574/0.3139, allocations: 1.069 MB / 463.4 MB, free: 4.059 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.3139, allocations: 9.625 kB / 463.4 MB, free: 4.059 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.3141, allocations: 111.1 kB / 463.5 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008304/0.3149, allocations: 0.642 MB / 464.2 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.315, allocations: 27.5 kB / 464.2 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.3151, allocations: 50.16 kB / 464.2 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001133/0.3162, allocations: 0.6131 MB / 464.9 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.3175, allocations: 0.7971 MB / 465.7 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.3175, allocations: 2 kB / 465.7 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.3176, allocations: 0 / 465.7 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3176, allocations: 26.12 kB / 465.7 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.3216, allocations: 3.521 MB / 469.2 MB, free: 1.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.3226, allocations: 0.6481 MB / 469.8 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006508/0.3233, allocations: 408 kB / 470.2 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.035e-05/0.3234, allocations: 8.688 kB / 470.3 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005768/0.324, allocations: 395.6 kB / 470.6 MB, free: 1.164 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 2.595e-06/0.324, allocations: 0 / 470.6 MB, free: 1.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.001455/0.3254, allocations: 0.7552 MB / 471.4 MB, free: 1.016 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3255, allocations: 121 kB / 471.5 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/0.3261, allocations: 433.2 kB / 471.9 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.3261, allocations: 31.02 kB / 472 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.3263, allocations: 304.1 kB / 472.3 MB, free: 488 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.3265, allocations: 227.9 kB / 472.5 MB, free: 320 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.3265, allocations: 0 / 472.5 MB, free: 320 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3267, allocations: 378 kB / 472.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.3271, allocations: 224.8 kB / 473.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.3276, allocations: 364.6 kB / 473.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.328, allocations: 240 kB / 473.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.328, allocations: 1.094 kB / 473.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001305/0.3293, allocations: 0.7842 MB / 474.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005453/0.3298, allocations: 1.317 MB / 475.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3299, allocations: 3.375 kB / 475.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009008/0.3308, allocations: 308.1 kB / 476.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.3312, allocations: 100 kB / 476.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004246/0.3354, allocations: 3.185 MB / 479.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.3361, allocations: 75.45 kB / 479.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.3361, allocations: 34.06 kB / 479.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.3362, allocations: 4 kB / 479.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001141/0.3373, allocations: 0.6783 MB / 480.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3373, allocations: 4 kB / 480.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007772/0.3381, allocations: 309 kB / 480.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.3385, allocations: 90.2 kB / 480.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/0.3426, allocations: 3.181 MB / 483.7 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.3432, allocations: 52.58 kB / 483.8 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.3433, allocations: 29.81 kB / 483.8 MB, free: 8.52 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 (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.0002191/0.3435, allocations: 140.3 kB / 483.9 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.3436, allocations: 75.09 kB / 484 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.3438, allocations: 78.66 kB / 484.1 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.3439, allocations: 8 kB / 484.1 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3439, allocations: 0 / 484.1 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.3439, allocations: 3.984 kB / 484.1 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.3465, allocations: 1.712 MB / 485.8 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3465, allocations: 3.984 kB / 485.8 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.3468, allocations: 67.89 kB / 485.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008301/0.3477, allocations: 292.7 kB / 486.2 MB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.3477, allocations: 12 kB / 486.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004345/0.3521, allocations: 3.189 MB / 489.4 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3521, allocations: 0 / 489.4 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001838/0.354, allocations: 1.205 MB / 490.6 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.3543, allocations: 240 kB / 490.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.3544, allocations: 0 / 490.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.3549, allocations: 36.03 kB / 490.8 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.3551, allocations: 72.55 kB / 490.9 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.3551, allocations: 16 kB / 490.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0004042/0.3555, allocations: 322.9 kB / 491.2 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001117/0.3566, allocations: 398.8 kB / 491.6 MB, free: 0.6055 MB / 330.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.0001776/0.3568, allocations: 126.2 kB / 491.8 MB, free: 480 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002414/0.3593, allocations: 1.435 MB / 493.2 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3593, allocations: 0 / 493.2 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008658/0.3601, allocations: 0.5428 MB / 493.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.3607, allocations: 109.9 kB / 493.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.3636, allocations: 1.167 MB / 495 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006674/0.3643, allocations: 1.038 MB / 496 MB, free: 12.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3643, allocations: 0 / 496 MB, free: 12.08 MB / 346.7 MB Notification: Performance of Templates: time 0.02611/0.3904, allocations: 17.09 MB / 0.5011 GB, free: 11 MB / 362.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